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

            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: bugzi...@mercurial-scm.org
          Reporter: arcppzju+hg...@gmail.com
                CC: mercurial-devel@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to