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: bugzi...@mercurial-scm.org
          Reporter: c...@perspexis.com
                CC: mercurial-devel@mercurial-scm.org,
                    pierre-yves.da...@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to