Mercurial > hg-stable
diff tests/test-rebase-parameters.t @ 19925:9c78ed396075
rebase: preserve working directory parent (BC)
Prior to this changeset, rebase always left the working directory as a parent of
the last rebased changeset. The is dubious when, before the rebase, the working
directory was not a parent of the tip most rebased changeset.
With this changeset, we move the working directory back to its original parent.
If the original parent was rebased, we use it's successors.
This is a step toward solving issue3813 (rebase loses active bookmark if it's
not on a head)
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 14 Oct 2013 16:12:29 +0200 |
parents | 0250047a365e |
children | aa9385f983fa |
line wrap: on
line diff
--- a/tests/test-rebase-parameters.t Mon Oct 14 16:49:54 2013 +0200 +++ b/tests/test-rebase-parameters.t Mon Oct 14 16:12:29 2013 +0200 @@ -197,11 +197,11 @@ saved backup bundle to $TESTTMP/a4/.hg/strip-backup/*-backup.hg (glob) $ hg tglog - @ 8: 'D' + o 8: 'D' | o 7: 'C' | - o 6: 'I' + @ 6: 'I' | o 5: 'H' | @@ -257,13 +257,13 @@ saved backup bundle to $TESTTMP/a6/.hg/strip-backup/*-backup.hg (glob) $ hg tglog - @ 8: 'D' + o 8: 'D' | o 7: 'C' | o 6: 'B' | - o 5: 'I' + @ 5: 'I' | o 4: 'H' | @@ -287,11 +287,11 @@ saved backup bundle to $TESTTMP/a7/.hg/strip-backup/*-backup.hg (glob) $ hg tglog - @ 8: 'D' + o 8: 'D' | o 7: 'C' | - | o 6: 'I' + | @ 6: 'I' |/ o 5: 'H' | @@ -317,13 +317,13 @@ saved backup bundle to $TESTTMP/a8/.hg/strip-backup/*-backup.hg (glob) $ hg tglog - @ 8: 'D' + o 8: 'D' | o 7: 'C' | o 6: 'B' | - | o 5: 'I' + | @ 5: 'I' |/ o 4: 'H' | @@ -347,11 +347,11 @@ saved backup bundle to $TESTTMP/a9/.hg/strip-backup/*-backup.hg (glob) $ hg tglog - @ 8: 'D' + o 8: 'D' | o 7: 'C' | - o 6: 'I' + @ 6: 'I' | o 5: 'H' |