Removing changesets

Matt Mackall mpm at selenic.com
Thu Aug 18 11:33:56 CDT 2005


On Thu, Aug 18, 2005 at 06:00:33PM +0200, Thibault North wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> Is it possible to remove a complete patch commited with hg commit, and
> not being the tip ? (so without undo informations) ?

No. In general, you must revert commits to remove them. Simply run:

 hg revert <last good checkout>
 hg commit

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list