[PATCH 5 of 6] help: split config user settings file by platform

timeless timeless at mozdev.org
Sun Jan 10 12:51:19 CST 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1452406900 0
#      Sun Jan 10 06:21:40 2016 +0000
# Node ID 94715a3cae5a338231c71d5516dcc66af740802d
# Parent  9647c8b7380e26600b713685a1600c87fa8091d5
help: split config user settings file by platform

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -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


More information about the Mercurial-devel mailing list