Patchwork D9412: helptext: mention in `hg help config` that `.hg/hgrc-not-shared` is consulted

login
register
mail settings
Submitter phabricator
Date Nov. 27, 2020, 3:42 p.m.
Message ID <differential-rev-PHID-DREV-gnoiax2ck4lngc36bxky-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47691/
State Superseded
Headers show

Comments

phabricator - Nov. 27, 2020, 3:42 p.m.
pulkit created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9412

AFFECTED FILES
  mercurial/helptext/config.txt

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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