📅 2012-Dec-07 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ configuration file, linux, mercurial ⬩ 📚 Archive
On Linux, there are three types of configuration files read by Mercurial: local (to a particular repository), per-user and per-system. When a configuration setting appears in more than one of these files, the local overrides per-user which overrides per-system.
The local configuration file is named hgrc
and lies in the .hg
subdirectory of the repository.
The per-user configuration file has to be named .hgrc
and placed in $HOME
directory.
The per-system configuration file has to be named hgrc
and placed in the /etc/mercurial
directory.
There are a few other per-system configuration options that are more complicated: .rc
files in the installation directory or the /etc/mercurial
directory.
More information about configuration file names and paths can be found using:
$ hg help config
Tried with: Mercurial 2.0.2