mercurial.ini, or .hgrc is the configuration file

here an example file containing all possible entries (soon hopefully ;) )

[defaults]
revert = --no-backup

[paths]
default-push = ssh://hg@example.com/path

defaults

this section contains default parameters given to mercurial commands.

paths

...

ui