hg log -G for bookmarks
Uwe Brauer
oub at mat.ucm.es
Fri Feb 5 15:54:46 UTC 2016
>>> "Andrew" == Andrew Halberstadt <halbersa at gmail.com> writes:
> You may be misunderstanding bookmarks.
> A bookmark is a glorified tag. The difference being that it
> automatically gets updated when you make a new commit (if it is
> activated). Bookmarks aren't branches, but they can be used to replicate
> a git-like branching workflow (which is probably where you got
> confused). Unlike named branches, only a single commit is tagged with a
> bookmark at a time.
Yeah correct. That confused me
Especially that
hg branch master
hg commit -m "3"
And
hg bookmark master
hg commit -m "3"
Are *not* equivalent, confused me. Now I understand.
> You should read through [1] for more information.
Thanks for the pointer.
Uwe
More information about the Mercurial
mailing list