[Bug 3683] New: The active bookmark is only half-coupled to the current bookmark

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Wed Oct 24 16:05:51 CDT 2012


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

          Priority: normal
            Bug ID: 3683
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: The active bookmark is only half-coupled to the
                    current bookmark
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: mpm at selenic.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.4-rc
         Component: Mercurial
           Product: Mercurial

If a bookmark is 'active' (in .hg/bookmarks.current and = '.'), and then gets
moved (for instance by pull, as in bug 3682), it ceases to be 'active', but
remains (invisibly) 'current'.

Then after an arbitrarily long period of not using bookmarks at all, updating
to the revision pointed to by the bookmark (eg via 'hg up tip') will magically
re-activate the bookmark because it never ceased being 'current'.

I suspect that there's no good reason for 'current' to be decoupled from
'active' this way and that a bookmark should cease being current when it ceases
to be active.

(behavior confirmed by Kevin.)

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


More information about the Mercurial-devel mailing list