Backing out a misadventure.

Alexander Solovyov piranha at piranha.org.ua
Wed Jun 10 03:11:32 CDT 2009


On Wed, Jun 10, 2009 at 2:19 AM, Stephen Rasku<mercurial at srasku.net> wrote:
> This is basically what I did.  I issued the following command:
>
>    hg diff -r 3cf9e515bcaf | patch -p1 -R
>
> This gave me the repository as I want it.  I had to re-add a removed
> directory manually before committing but this seemed to work.
>
> Is there a better way to do this?

Probably by using "hg revert -r 3cf9e ."?

-- 
Alexander



More information about the Mercurial mailing list