How to show which .hgrc Mercurial is using
How to take local in Mercurial without a merge conflict
When there’s a merge conflict in Mercurial, TortoiseHG will give you the option to ‘take local’ or ‘take other’ in addition to resolving the conflict.
However, sometimes you may want to ‘take local’ or ‘take other’ when there’s no merge conflict.
To take local:
hg merge --tool internal:local <rev>
To take other:
hg merge --tool internal:other <rev>
Slow Mercurial clone
Mercurial ignore file for Maven projects
I find it hard to remember all the .hgignore settings for a new Mercurial repository that I need, so here’s a bootstrap version
syntax: glob .hgignore */target/** */.settings/** */.classpath */.project *.log *.orig