bzr cbranch usage

Aaron Bentley aaron at aaronbentley.com
Tue Nov 24 23:00:36 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Martinsen-Burrell wrote:
> On 2009-11-24 16:23 , Xavier Maillard wrote:
>> Do I have to create the lightweight checkout manually -i.e bzr co
>> ~repos/foo/trun foo/trunk in ~/src before being able to do
>> cbranch ?
> 
> cbranch expects that you already have a lightweight checkout of the
> project in ~/src.

When determining the source branch, cbranch behaves exactly like branch.
 It doesn't require that anything be in src.  If you specify a path
within src, it doesn't require that it be a lightweight checkout.

> So, I think that your configuration is right, but you
> need ``cd ~/src/foo; bzr co --lightweight /home/xma/repos/foo/trunk; cd
> trunk; bzr cbranch --lightweight ../feature-baz``

That is a good way to work, but it isn't mandatory.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksMZZQACgkQ0F+nu1YWqI3GKgCeL6JRH9Vb5sltxq67J3Om0YQF
btUAn0p+hzlLUSh9bru64Y0sIsGpwu4P
=xGDT
-----END PGP SIGNATURE-----



More information about the bazaar mailing list