[RFC] branch --bind
Jelmer Vernooij
jelmer at samba.org
Tue Jan 5 01:26:37 GMT 2010
On Tue, 2010-01-05 at 10:51 +1000, Ian Clatworthy wrote:
> I've put together a patch extending the branch command with a --bind
> option. See
> https://code.edge.launchpad.net/~ian-clatworthy/bzr/branch-bind-option/+merge/16725.
> The intent is that
>
> branch --bind X Y
>
> is equivalent to
>
> branch X Y
> cd Y
> bind X
> cd -
>
> Poolie has approved this patch. lifeless and fullermd have asked for
> more discussion before this lands. Some background ...
>
> FWIW, my short term driver for this is a better qbranch dialog. Due to
> locking considerations, I can't easily add a "Bind to parent" checkbox
> to qbranch without pushing the functionality down into the bzr core.
>
> Longer term, I think our "checkout" model is broken - heavyweight and
> lightweight checkouts have different semantics - and needs fixing. I'd
> like to see lightweight checkouts the default with the option of a true
> (history horizon) cache. That's a separate debate though. If anything,
> having "branch --bind" is good because we can introduce new users to
> bound branches without needing to explain all the complexity/issues
> around various checkout types.
+1
I like the term "bound branch" much better than checkout:
* checkout is associated historically with working copies in
Subversion / CVS; for git users it means switching branch
* the name "bound branch" is self-explanatory
Regardless of what meaning we end up giving to "bzr checkout", I think
this is a good change and the clearest name available for the particular
configuration that currently goes by the name "heavyweight checkout".
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100105/6d35e2dc/attachment.pgp
More information about the bazaar
mailing list