[Bug 5772] New: hg fold doesn't move bookmarks

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jan 16 17:23:36 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5772

            Bug ID: 5772
           Summary: hg fold doesn't move bookmarks
           Product: Mercurial
           Version: 4.4.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzilla at mercurial-scm.org
          Reporter: cody at perspexis.com
                CC: mercurial-devel at mercurial-scm.org,
                    pierre-yves.david at ens-lyon.org

If you have activate a bookmark and do `hg fold` the bookmark should move to
the new commit.

$ hg init
$ echo a > a
$ hg add a
$ hg commit -m "a"
$ echo b > b
$ hg add b
$ hg commit -m "b"
$ hg book @

$ hg la
@   1 cody tip @ (2018-01-16)
|  b
o   0 cody (2018-01-16)
   a

$ hg fold -r . -r .^ --exact
2 changesets folded
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ # current result

$ hg la
@   2 cody tip (2018-01-16)
   b
x   1 cody @ (2018-01-16)
|  b
x   0 cody (2018-01-16)
   a

$ hg book @
moving bookmark '@' forward from b53d2f525529
$ # desired result

$ hg la
@   2 cody tip @ (2018-01-16)
   b

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


More information about the Mercurial-devel mailing list