Mercurial > hg
comparison mercurial/helptext/environment.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 |
comparison
equal
deleted
inserted
replaced
44123:52f8b07ad2f9 | 44124:d56a2d6f34f0 |
---|---|
46 | 46 |
47 For each element in HGRCPATH: | 47 For each element in HGRCPATH: |
48 | 48 |
49 - if it's a directory, all files ending with .rc are added | 49 - if it's a directory, all files ending with .rc are added |
50 - otherwise, the file itself will be added | 50 - otherwise, the file itself will be added |
51 | |
52 HGRCSKIPREPO | |
53 When set, the .hg/hgrc from repositories are not read. | |
51 | 54 |
52 HGPLAIN | 55 HGPLAIN |
53 When set, this disables any configuration settings that might | 56 When set, this disables any configuration settings that might |
54 change Mercurial's default output. This includes encoding, | 57 change Mercurial's default output. This includes encoding, |
55 defaults, verbose mode, debug mode, quiet mode, tracebacks, and | 58 defaults, verbose mode, debug mode, quiet mode, tracebacks, and |