[issue2155] rebasing to an ancester should work with --detach

domruf bugs at mercurial.selenic.com
Sat Apr 24 19:52:11 UTC 2010


New submission from domruf <dominikruf at gmail.com>:

When I try to rebase some changesets to an ancestor with the --detach option 
it doesn't work.
But if I create a new head by making a dummy commit (say adding some blank 
lines) it works.

1 2 3 4
o-o-o-o

rebase -s 3 -d 1
doesn't work

hg update -r 1
edit a file and commit

1 2 3 4
o-o-o-o
\5
 o

hg rebse -3 -d 5

1 2 
o-o
\3 4 5
 o-o-o
(5 3 4)

You can find a discussion at nabble
http://old.nabble.com/rebase:-source-is-descendant-of-destination-
ts28329868.html

----------
messages: 12360
nosy: domruf
priority: bug
status: unread
title: rebasing to an ancester should work with --detach

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2155>
____________________________________________________


More information about the Mercurial-devel mailing list