Mercurial > hg-stable
diff tests/test-rebase-cache.t @ 17005:50f434510da6
rebase: do not add second parent to rebased changeset (drop detach option) (BC)
Rebase now behaves as if --detach was always passed. Non-merges are
rebased as non-merges, regardless of their parent being an ancestor of
the destination. Merges will usually be rebased as merges unless both of
their parents are ancestors of the destination, or one of their parents
is pruned when rebased.
This only alters the behavior of rebase when using the --source/--rev
options. --detach option is deprecated.
All test changes were carefully validated.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 20 Jun 2012 20:08:57 +0200 |
parents | f2719b387380 |
children | c8eda7bbdcab |
line wrap: on
line diff
--- a/tests/test-rebase-cache.t Wed Jun 20 17:40:19 2012 +0400 +++ b/tests/test-rebase-cache.t Wed Jun 20 20:08:57 2012 +0200 @@ -104,7 +104,7 @@ 2: 'B' branch1 0: 'A' - $ hg rebase --detach -s 5 -d 8 + $ hg rebase -s 5 -d 8 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob) $ hg branches @@ -165,7 +165,7 @@ |/ o 0: 'A' - $ hg rebase --detach -s 8 -d 6 + $ hg rebase -s 8 -d 6 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/*-backup.hg (glob) $ hg branches @@ -229,7 +229,7 @@ |/ o 0: 'A' - $ hg rebase --detach -s 7 -d 6 + $ hg rebase -s 7 -d 6 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/*-backup.hg (glob) $ hg branches