Working with Mercurial How to set up and work with Mercurial: Set up the environment. Create a patch. Useful Mercurial commands.