Delete a local commits in Mercurial

Last updated on 20/11/2014

Find the .hgrc or Mercurial.ini file and add the following to it:

[extensions]
mq = 

and type:

hg strip #changeset#

Where #changeset# is the hash for the changeset you want to remove.