Commit Graph

2 Commits

Author SHA1 Message Date
Patrick Mezard
634e25f569 test-rebase-newancestor: make executable 2009-11-11 18:32:56 +01:00
Christian Boos
62e4f8e6b2 rebase: make sure the newancestor is used during the whole update
(issue1561)

Before this change, newancestor was used only once as a replacement
for ancestor.ancestor, but merge.update calls ancestor.ancestor
several times, so it ends up with the "wrong" ancestor (the real
ancestor, but we want the parent of the rebased changeset for all but
the first rebased changeset).

Added a new test case for this: test-rebase-newancestor.

Also, in one scenario in test-rebase-collapse, there was a spurious
conflict caused by the same issue, so that test case was fixed by
removing the now unneeded conflict resolution and the output was
adapted accordingly.
2009-11-09 20:15:49 +01:00