Bazaar Mercurial Plugin to access BitBucket
Jelmer Vernooij
jelmer at samba.org
Thu Oct 27 03:00:07 UTC 2011
On Thu, 2011-10-27 at 03:13 +0900, Stephen J. Turnbull wrote:
> Jelmer Vernooij writes:
>
> > "bzr switch -b newbranch" can do exactly this, and will create a branch
> > that is a sibling of your old branch (and switch to it) if you're
> > working in a lightweight checkout.
>
> I see. So the only overhead here is the branch metadata (assuming
> you're in a shared repo). And I take it that
>
> bzr switch -r 42 -b newbranch
>
> creates a branch whose tip is r42 with the name "newbranch", switches
> the workspace to the new branch, and updates the current workspace to
> tip aka r42? OK, so that really is pretty much everything I would
> want in terms of day-to-day branching from a coloc feature.
>
> So as far as functionality goes, the coloc plugin really only adds the
> ability to put a shared repo in in .bzr/branches, more or less, and so
> the ability to clone a whole shared repo in a convenient way?
that, and it makes it easier to refer to sibling branches ("bzr log
-rcolo:foobranch"). And, as mentioned earlier in this thread, a simple
clone is all you need to use colocated branches, whereas setting up an
environment with a lightweight checkout and tree-less branches is more
work if you're using "vanilla" bzr.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20111026/e3cb5f29/attachment.pgp>
More information about the bazaar
mailing list