diff -r ef11dfc56674 -r bf23d6ee7ec7 tests/test-hgrc.t --- a/tests/test-hgrc.t Mon Feb 03 20:41:11 2020 +0100 +++ b/tests/test-hgrc.t Tue Feb 04 12:07:42 2020 +0100 @@ -281,3 +281,21 @@ $ HGRCSKIPREPO=1 hg path foo = $TESTTMP/bar +Check that hgweb respect HGRCSKIPREPO=1 + + $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log + hg: parse error at $TESTTMP/.hg/hgrc:3: [broken + [255] + $ test -f hg.pid && (cat hg.pid >> $DAEMON_PIDS) + [1] + $ killdaemons.py + $ test -f access.log && cat access.log + [1] + $ test -f errors.log && cat errors.log + [1] + + $ HGRCSKIPREPO=1 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log + $ cat hg.pid >> $DAEMON_PIDS + $ killdaemons.py + $ cat access.log + $ cat errors.log