[Bug 5782] New: rebase complains about divergence when rebasing commit with hidden successor

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Feb 7 06:02:21 UTC 2018


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

            Bug ID: 5782
           Summary: rebase complains about divergence when rebasing commit
                    with hidden successor
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: rebase
          Assignee: bugzilla at mercurial-scm.org
          Reporter: martinvonz at google.com
                CC: mercurial-devel at mercurial-scm.org

$ hg --hidden log -G -T '{rev} {desc}'
x 4 foo successor
|
| o 3 bar
| |
| x 2 foo
|/
o 1
|
o 0
$ hg rebase -d 0 -r 2
abort: this rebase will cause divergences from: 2 <- actually a hash

This error message seems misleading since rebasing 2 would not lead to
divergence.

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


More information about the Mercurial-devel mailing list