changeset 44124 | d56a2d6f34f0 |
parent 43925 | 6b6872822b32 |
child 44161 | ef11dfc56674 |
--- a/tests/test-hgrc.t Sat Jan 18 10:37:14 2020 -0800 +++ b/tests/test-hgrc.t Tue Jan 07 11:24:05 2020 +0100 @@ -258,3 +258,16 @@ plain: True read config from: $TESTTMP/hgrc $TESTTMP/hgrc:17: paths.foo=$TESTTMP/bar + +Test we can skip the user configuration + + $ cat >> .hg/hgrc <<EOF + > [paths] + > elephant = babar + > EOF + $ hg path + elephant = $TESTTMP/babar + foo = $TESTTMP/bar + $ HGRCSKIPREPO=1 hg path + foo = $TESTTMP/bar +