Mercurial > hg
diff tests/test-hgrc.t @ 44244:ef11dfc56674 stable
config: also respect HGRCSKIPREPO in `dispatch._getlocal`
For some reason, we are also reading the local config in that function.
Differential Revision: https://phab.mercurial-scm.org/D8073
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 Feb 2020 20:41:11 +0100 |
parents | d56a2d6f34f0 |
children | bf23d6ee7ec7 |
line wrap: on
line diff
--- a/tests/test-hgrc.t Tue Feb 04 12:31:19 2020 +0100 +++ b/tests/test-hgrc.t Mon Feb 03 20:41:11 2020 +0100 @@ -271,3 +271,13 @@ $ HGRCSKIPREPO=1 hg path foo = $TESTTMP/bar + $ cat >> .hg/hgrc <<EOF + > [broken + > EOF + + $ hg path + hg: parse error at $TESTTMP/.hg/hgrc:3: [broken + [255] + $ HGRCSKIPREPO=1 hg path + foo = $TESTTMP/bar +