branch nicks and checkouts...

John Arbash Meinel john at arbash-meinel.com
Wed Sep 13 16:59:22 BST 2006


Erik Bågfors wrote:
> I would like a checkout to get the same branch nick as the branch it's
> bound to.
> 
> The following should work I'd think
> 
> cd branch
> bzr nick foobar
> cd ..
> bzr checkout branch branch1
> cd branch1
> bzr nick  -> should return foobar.
> 
> This is what happens if I run a lightweight checkout and it's
> surprising that they behave differently (well.. looking at how bzr
> works, it's not strange, but for a end user a checkout is just a
> lightweight checkout with a cache :) )

It seems possible. It we could add it as a step at the end of
'cmd_checkout'.

Alternatively, it could be done as part of the 'bind()' process. But I
think Robert wants to keep that as minimal as possible.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060913/493b7aeb/attachment.pgp 


More information about the bazaar mailing list