Bare-bones basic Mercurial for Subversion users

Have you ever issued a commit command, and then immediately realized you shouldn’t have? Mercurial has a great solution for times like this:

hg rollback

It undoes the last transaction in your repository. Not only does it remove the last commit from the history, but it restores the files in your working tree to their state before that commit. It’s perfect for fixing a bad commit, because you’re put right back where you were before the commit, and can make whatever fix you need before committing again.

I really don’t know how to use these commands yet… so I have created this file for notes as I learn

Revert and Backout