/etc/mercurial/hgrc.d?

Alexis S. L. Carvalho alexis at cecm.usp.br
Fri Nov 9 18:22:45 CST 2007


Thus spake Neal Becker:
> In looking at the code, I get the impression that /etc/mercurial/hgrc.d can
> be used for configuring plugins?  Is this documented somewhere?

doc/hgrc.5.txt:

FILES
-----

Mercurial reads configuration data from several files, if they exist.
The names of these files depend on the system on which Mercurial is
installed.

(Unix)    <install-root>/etc/mercurial/hgrc.d/*.rc::
(Unix)    <install-root>/etc/mercurial/hgrc::
    Per-installation configuration files, searched for in the
    directory where Mercurial is installed.  For example, if installed
    in /shared/tools, Mercurial will look in
    /shared/tools/etc/mercurial/hgrc.  Options in these files apply to
    all Mercurial commands executed by any user in any directory.

(Unix)    /etc/mercurial/hgrc.d/*.rc::
(Unix)    /etc/mercurial/hgrc::
(Windows) C:\Mercurial\Mercurial.ini::
    Per-system configuration files, for the system on which Mercurial
    is running.  Options in these files apply to all Mercurial
    commands executed by any user in any directory.  Options in these
    files override per-installation options.


Alexis


More information about the Mercurial mailing list