Mercurial > hg
changeset 27762:70e7bfebba46
help: split config user settings file by platform
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 10 Jan 2016 06:21:40 +0000 |
parents | bf8b0796af2e |
children | 0ac5b7ee5dc2 |
files | mercurial/help/config.txt |
diffstat | 1 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help/config.txt Sun Jan 10 06:09:10 2016 +0000 +++ b/mercurial/help/config.txt Sun Jan 10 06:21:40 2016 +0000 @@ -30,10 +30,19 @@ Mercurial reads configuration data from several files, if they exist. These files do not exist by default and you will have to create the -appropriate configuration files yourself: global configuration like -the username setting is typically put into -``%USERPROFILE%\mercurial.ini`` or ``$HOME/.hgrc`` and local -configuration is put into the per-repository ``<repo>/.hg/hgrc`` file. +appropriate configuration files yourself: + +Local configuration is put into the per-repository ``<repo>/.hg/hgrc`` file. + +Global configuration like the username setting is typically put into: + +.. container:: windows + + ``%USERPROFILE%\mercurial.ini`` + +.. container:: unix.plan9 + + ``$HOME/.hgrc`` The names of these files depend on the system on which Mercurial is installed. ``*.rc`` files from a single directory are read in