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

login
register
mail settings
Submitter timeless@mozdev.org
Date Jan. 10, 2016, 6:51 p.m.
Message ID <94715a3cae5a338231c7.1452451879@waste.org>
Download mbox | patch
Permalink /patch/12628/
State Accepted
Headers show

Comments

timeless@mozdev.org - Jan. 10, 2016, 6:51 p.m.
# HG changeset patch
# User timeless <timeless@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

Patch

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