Mercurial > hg-stable
diff mercurial/helptext/config.txt @ 46022:aa4440e59c44
helptext: mention in `hg help config` that `.hg/hgrc-not-shared` is consulted
Recently we added `.hg/hgrc-not-shared` which is a config file which won't be
shared with shares when share-safe mode is enabled. Irrespective of whether
we are using share-safe or not, we consult this file now.
Let's document that.
Differential Revision: https://phab.mercurial-scm.org/D9412
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 27 Nov 2020 18:28:14 +0530 |
parents | 996cd73431a3 |
children | ecef004c6410 |
line wrap: on
line diff
--- a/mercurial/helptext/config.txt Fri Nov 27 18:11:47 2020 +0530 +++ b/mercurial/helptext/config.txt Fri Nov 27 18:28:14 2020 +0530 @@ -54,6 +54,7 @@ On Unix, the following files are consulted: + - ``<repo>/.hg/hgrc-not-shared`` (per-repository) - ``<repo>/.hg/hgrc`` (per-repository) - ``$HOME/.hgrc`` (per-user) - ``${XDG_CONFIG_HOME:-$HOME/.config}/hg/hgrc`` (per-user) @@ -67,6 +68,7 @@ On Windows, the following files are consulted: + - ``<repo>/.hg/hgrc-not-shared`` (per-repository) - ``<repo>/.hg/hgrc`` (per-repository) - ``%USERPROFILE%\.hgrc`` (per-user) - ``%USERPROFILE%\Mercurial.ini`` (per-user) @@ -89,6 +91,7 @@ On Plan9, the following files are consulted: + - ``<repo>/.hg/hgrc-not-shared`` (per-repository) - ``<repo>/.hg/hgrc`` (per-repository) - ``$home/lib/hgrc`` (per-user) - ``<install-root>/lib/mercurial/hgrc`` (per-installation)