Mercurial undo last commit
One way would be hg rollback (deprecated as of Hg2.7, August 2013) Please use hg commit –amend instead of rollback to correct mistakes in the last commit. Roll back the last transaction in a repository. When committing or merging, Mercurial adds the changeset entry last. Mercurial keeps a transaction log of the name of each … Read more