[Bug 5606] New: rebase may strip "hole" changesets

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Jun 23 19:27:16 EDT 2017


            Bug ID: 5606
           Summary: rebase may strip "hole" changesets
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: rebase
          Assignee: bugzilla at mercurial-scm.org
          Reporter: arcppzju+hgbug at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Given the graph:

  $ hg debugdrawdag <<'EOF'
  >    D H
  >    | |
  >    C G
  >    | |
  >    B F
  >    | |
  >  Z A E
  >   \|/
  >    R
  > EOF

Run "hg rebase -r B+D+E+G+H -d Z"

And the result is:

  o  7:721b8da0a708 H
  o  6:9d65695ec3c2 G
  o  5:21c8397a5d68 E
  | o  4:fc52970345e8 D
  | |
  | o  3:eac96551b107 B
  o  2:f424eb6a8c01 Z
  | o  1:21a6c4502885 A
  o  0:b41ce7760717 R

Changeset C and F are stripped incorrectly.

Note: I have fixed this locally and will send patches soon.

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

More information about the Mercurial-devel mailing list