orphaned bookmarks

Christian Widmer cwidmer at ymail.com
Tue Apr 2 15:58:44 UTC 2013


hi

stripping a revision with bookmark moves the bookmark to its ancestor. i
find that a bit confusing as the revision 1 was never part of the feature
branch which has been eliminated by the strip command.

:> mkdir master; cd master; hg init; hg book @
:> echo 'abc' > f1; hg commit -m'add f1' -A
:> echo 'abc' > f2; hg commit -m'add f2' -A
:> echo 'abc' > f3; hg commit -m'add f3' -A
:> hg up 1; hg book b
:> echo 'abc' > f4; hg commit -m'add f4' -A
:> hg strip tip
:> hg book
 * @                         2:e8e0e32756ff
   b                         1:af63a54e0e1c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130402/00ff8a20/attachment-0002.html>


More information about the Mercurial mailing list