diff mercurial/helptext/scripting.txt @ 44124:d56a2d6f34f0

hgrc: introduce HGRCSKIPREPO to skip reading the repository's hgrc We had a way to change the behavior regarding reading the global and user config, but we had nothing regarding the repository hgrc itself. This option is useful in situation where scripts need to be able to work around strange configuration set by the user in his repository. (and were HGPLAIN is not enough). Differential Revision: https://phab.mercurial-scm.org/D7807
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 07 Jan 2020 11:24:05 +0100
parents 2e017696181f
children
line wrap: on
line diff
--- a/mercurial/helptext/scripting.txt	Sat Jan 18 10:37:14 2020 -0800
+++ b/mercurial/helptext/scripting.txt	Tue Jan 07 11:24:05 2020 +0100
@@ -74,6 +74,14 @@
     like the username and extensions that may be required to interface
     with a repository.
 
+HGRCSKIPREPO
+    When set, the .hg/hgrc from repositories are not read.
+
+    Note that not reading the repository's configuration can have
+    unintended consequences, as the repository config files can define
+    things like extensions that are required for access to the
+    repository.
+
 Command-line Flags
 ==================