# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1606482140 -19800 # Fri Nov 27 18:32:20 2020 +0530 # Node ID ecef004c64103535be484cd98ce8d4b6cd6f442a # Parent aa4440e59c44073607fe54046febcc8c293696a5 helptext: document share safe functionality in `hg help config -v` If share safe functionality is enabled, we read `.hg/hgrc' of shared source. Differential Revision: https://phab.mercurial-scm.org/D9413 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 ======