diff tests/test-hgrc.t @ 44163:eecc005229ff stable

config: also respect HGRCSKIPREPO in the zeroconf extension Differential Revision: https://phab.mercurial-scm.org/D8075
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 04 Feb 2020 12:07:37 +0100
parents bf23d6ee7ec7
children 28aacddf3af0
line wrap: on
line diff
--- a/tests/test-hgrc.t	Tue Feb 04 12:07:42 2020 +0100
+++ b/tests/test-hgrc.t	Tue Feb 04 12:07:37 2020 +0100
@@ -299,3 +299,11 @@
   $ killdaemons.py
   $ cat access.log
   $ cat errors.log
+
+Check that zeroconf respect HGRCSKIPREPO=1
+
+  $ hg paths --config extensions.zeroconf=
+  hg: parse error at $TESTTMP/.hg/hgrc:3: [broken
+  [255]
+  $ HGRCSKIPREPO=1 hg paths --config extensions.zeroconf=
+  foo = $TESTTMP/bar