Lightweight branches (Re: Why we didn't migrate to Mercurial (long))
Arne Babenhauserheide
arne_bab at web.de
Tue Oct 9 18:41:14 UTC 2012
Hi Friedrich,
At Tue, 9 Oct 2012 07:48:48 +0000,
Kastner Masilko, Friedrich wrote:
> There he noted that once you have bookmarks alongside
> named-branches, "hg update default" can confuse you. But if you use
> a bookmark workflow - and no named-branch or mixed one - then why do
> you want to "hg update default" at all? If you know what bookmark
> you want, then go there. If you don't know what bookmark you want,
> reconsider the bookmark workflow.
I mean, if you don't know what bookmark you want, the workflow should still work.
But I got a bit confused myself, so I might still misunderstand you...
> Named branches are node coloring, in contrast to bookmarks being pointers. It is no wonder that mixing those concepts is confusing.
Both also have implications on the working of your tool, for example on merging. So it gets a bit more intricate.
Also `hg up <branch>` is the same as updating to a pointer, because it actually updates to the branch head.
Best wishes,
Arne
More information about the Mercurial
mailing list