D9413: helptext: document share safe functionality in `hg help config -v`

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Nov 27 15:42:17 UTC 2020


pulkit created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  If share safe functionality is enabled, we read `.hg/hgrc' of shared source.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/helptext/config.txt

CHANGE DETAILS

diff --git a/mercurial/helptext/config.txt b/mercurial/helptext/config.txt
--- a/mercurial/helptext/config.txt
+++ b/mercurial/helptext/config.txt
@@ -147,6 +147,15 @@
 merge tool configuration but packagers can also put other default configuration
 there.
 
+.. container:: verbose
+
+    On versions 5.7 and later, if share-safe functionality is enabled,
+    shares will read config file of share source too.
+    `<share-source/.hg/hgrc>` is read before reading `<repo/.hg/hgrc>`.
+
+    For configs which should not be shared, `<repo/.hg/hgrc-not-shared>`
+    should be used.
+
 Syntax
 ======
 



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


More information about the Mercurial-devel mailing list