hg branch == bzr ???

Robert Collins robertc at robertcollins.net
Thu Feb 7 21:13:30 GMT 2008


On Thu, 2008-02-07 at 13:49 +0100, Stefan Ring wrote:
> I worked with Mercurial quite a lot recently, and I really like this 
> "internal branches" feature. It can be very confusing at times, though. 
> Bzr's philosophy is completely different in this regard -- it can only 
> handle one single head in every repository.

Technically its a single head in every branch. A shared repository has
many heads (see the bzr-heads plugin), but each branch has one.
Repositories are for storing data, branches for organising your work.

> In your case, I would create additional repo directories somewhere 
> outside your working directory and always push into them after 
> committing. Then you can switch to any of these with pull --overwrite.

Or even the 'bzr switch' command which will merge uncommitted changes
and so on.

-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: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080208/0d3dbcbf/attachment.pgp 


More information about the bazaar mailing list