User:Mook:hg
From MozillaWiki
Just some notes with playing with the experimental mercurial repo...
Use Mq
The Mq extension sorta helps with trying to hold and use several patches at once. I'm sure the git equivalent (stacked git, stgit) works well too, as well as quilt etc. I didn't use it with git because just having a bunch of branches there worked well enough (a bit more overhead, but I get revision history of patches); with hg that'd require a bunch of repo clones as far as I can tell.
Remember to add the hooks to ensure your repo is clean before pulling.
Binary diff
When using Mq to manage patches, it is important to be able to have the patches be able to hold binary files. In hgrc, under the section [diff], set git = True to enable git-style extended patches by default.