Undoing a successful rebase

Bill Barry after.fallout at gmail.com
Tue Jun 23 23:37:17 CDT 2009


if the history is linear you should be able to rebase it back I think... 
but I have no idea how to do this

Bill Barry wrote:
> If I thought I might want to do this I would keep a local clone of the 
> non-rebased version before I rebase.
>
> Afriza N. Arief wrote:
>> Hi All,
>>
>> I have 2 branches and I rebased one against the other using  "hg 
>> rebase -d revision-in-other-branch".
>>
>> after doing some merge, there rebase finished and a bundle is saved 
>> in ".hg\strip-backup\BBB".
>>
>> After a while, I think i want to keep the original changesets and I 
>> run "hg unbundle .hg\strip-backup\BBB" but I get "added 0 changesets 
>> with 0 changes to 142 files" and the original changesets are not 
>> restored.
>>
>> What is the correct way to restore changesets/ undo a rebase?
>>
>> Thank you,
>>
>> Afriza
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>>   
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090623/ce882b79/attachment.htm 


More information about the Mercurial mailing list