Another page that would rather be hosted on a wiki. These are my notes on how to do various things in Mercurial.
A Mercurial cheat sheet. Written for a non-expert for non-experts.
This is a work in progress. Check back later to see what’s new!
DEALING WITH MISTAKES
To roll back an “accidental” change after a commit:
To undo a change to a file before you’ve committed:
hg revert filename
The above works with wildcards, but I wouldn’t..
To back out the last changeset committed:
hg backout -m 'Back out this change' tip