Removing changesets

Thomas Arendsen Hein thomas at intevation.de
Thu Aug 18 14:29:58 CDT 2005


* Thibault North <tnorth at bluewin.ch> [20050818 17:57]:
> Is it possible to remove a complete patch commited with hg commit, and
> not being the tip ? (so without undo informations) ?

Matt's hg revert trick works always, but if the changes made in that
patch have not been further modified, you can use:

hg export CHANGESET | patch -s -p1 -R && hg ci

But maybe there are rejects in the reversed patch, which then need
manual intervention.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list