Undoing a successful rebase
Bill Barry
after.fallout at gmail.com
Tue Jun 23 22:08:23 CDT 2009
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/83f2af32/attachment.htm
More information about the Mercurial
mailing list