doc/hgrc.5.txt
changeset 5583 1b5b81d9039b
parent 5081 ea7b982b6c08
child 5634 2f74cfa29e8c
equal deleted inserted replaced
5582:60d46e0bd656 5583:1b5b81d9039b
    15 FILES
    15 FILES
    16 -----
    16 -----
    17 
    17 
    18 Mercurial reads configuration data from several files, if they exist.
    18 Mercurial reads configuration data from several files, if they exist.
    19 The names of these files depend on the system on which Mercurial is
    19 The names of these files depend on the system on which Mercurial is
    20 installed.
    20 installed. Windows registry keys contain PATH-like strings, every
       
    21 part must reference a Mercurial.ini file or be a directory where *.rc
       
    22 files will be read.
    21 
    23 
    22 (Unix)    <install-root>/etc/mercurial/hgrc.d/*.rc::
    24 (Unix)    <install-root>/etc/mercurial/hgrc.d/*.rc::
    23 (Unix)    <install-root>/etc/mercurial/hgrc::
    25 (Unix)    <install-root>/etc/mercurial/hgrc::
    24     Per-installation configuration files, searched for in the
    26     Per-installation configuration files, searched for in the
    25     directory where Mercurial is installed.  For example, if installed
    27     directory where Mercurial is installed.  For example, if installed
    27     /shared/tools/etc/mercurial/hgrc.  Options in these files apply to
    29     /shared/tools/etc/mercurial/hgrc.  Options in these files apply to
    28     all Mercurial commands executed by any user in any directory.
    30     all Mercurial commands executed by any user in any directory.
    29 
    31 
    30 (Unix)    /etc/mercurial/hgrc.d/*.rc::
    32 (Unix)    /etc/mercurial/hgrc.d/*.rc::
    31 (Unix)    /etc/mercurial/hgrc::
    33 (Unix)    /etc/mercurial/hgrc::
       
    34 (Windows) HKEY_LOCAL_MACHINE\SOFTWARE\Mercurial::
       
    35   or::
    32 (Windows) C:\Mercurial\Mercurial.ini::
    36 (Windows) C:\Mercurial\Mercurial.ini::
    33     Per-system configuration files, for the system on which Mercurial
    37     Per-system configuration files, for the system on which Mercurial
    34     is running.  Options in these files apply to all Mercurial
    38     is running.  Options in these files apply to all Mercurial
    35     commands executed by any user in any directory.  Options in these
    39     commands executed by any user in any directory.  Options in these
    36     files override per-installation options.
    40     files override per-installation options.