branch nicks and checkouts...
Robert Collins
robertc at robertcollins.net
Thu Sep 14 02:28:19 BST 2006
On Wed, 2006-09-13 at 10:59 -0500, John Arbash Meinel wrote:
> 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.
Different question applies here I think: the master branch nick is
dynamic. Shouldn't the checkout always use the current master-branch
nick ?
So when its offline it should know the last observed master branch nick
and use that, but use the master one in preference.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060914/4b9f2742/attachment.pgp
More information about the bazaar
mailing list