Backing out a misadventure.

Stephen Rasku mercurial at srasku.net
Tue Jun 9 18:19:05 CDT 2009


On Tue, Jun 9, 2009 at 16:08, Smith,
Michael<Michael.Smith at thalesgroup.com.au> wrote:

> 2. Commit new changesets which reverse the changes you don't want. Possibly
> by reverting to the last good revision then committing it.

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?

...Stephen


More information about the Mercurial mailing list