Mercurial > hg
diff tests/test-rebase-detach.t @ 15132:81f76098211e
rebase: allow rebase to ancestor (issue3010)
We only deny rebasing onto direct parent. Thanks to the ancestor argument of
merge. the "implementation" of this feature only consist in loosing the check
and imply detach when rebasing on ancestor.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 19 Sep 2011 16:57:13 +0200 |
parents | 012c719103ab |
children | 9910f60a37ee 3411a83e232a |
line wrap: on
line diff
--- a/tests/test-rebase-detach.t Sun Sep 18 19:59:33 2011 -0400 +++ b/tests/test-rebase-detach.t Mon Sep 19 16:57:13 2011 +0200 @@ -281,3 +281,25 @@ |/ o 0: 'A' + + $ hg rebase -d 5 -s 7 + saved backup bundle to $TESTTMP/a5/.hg/strip-backup/13547172c9c0-backup.hg + $ hg tglog + @ 8: 'D' + | + o 7: 'C' + | + | o 6: 'B' + |/ + o 5: 'extra branch' + + o 4: 'H' + | + | o 3: 'G' + |/| + o | 2: 'F' + | | + | o 1: 'E' + |/ + o 0: 'A' +