[Bug 4776] New: unwanted bookmark move when evolving

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Aug 13 19:11:14 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4776

          Priority: normal
            Bug ID: 4776
                CC: mercurial-devel at selenic.com,
                    pierre-yves.david at ens-lyon.org
          Assignee: bugzilla at selenic.com
           Summary: unwanted bookmark move when evolving
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: sphink at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: evolution
           Product: Mercurial

Created attachment 1850
  --> http://bz.selenic.com/attachment.cgi?id=1850&action=edit
Log of bookmarky weirdness

I don't know exactly what the problem is here, but when I did uncommit followed
by an evolve operation, it moved my bookmark to an unexpected revision.

I had A -> B -> C. Both B and C were bookmarked (to 'weakmap' and
'weakmap-incremental', respectively). I rebased B onto A', producing A' -> B'
-> C', but now both bookmarks were associated with C'. The 'weakmap' bookmark
should have been for B'.

The sequence of commands was

hg uncommit -a
hg prune .
hg update -C # This is where the bookmark got updated

Sorry, the full log is attached bu the output is hard to read without color and
it uses a bunch of my own aliases. 'hg show .' is equivalent to 'hg export .'.
'hg ls' prints out selected revisions, and appends any bookmarks to the end of
a revision's line. So this line:

  289548|bc7f73dea1ae   Attempts at incremental weakmap weakmap-incremental

means that rev bc7f73dea1ae is bookmarked both 'weakmap' and
'weakmap-incremental'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list