diff tests/test-hgrc.t @ 37435:0c1b895511b9

tests: `hg init` after resetting HGRCPATH Otherwise extensions loaded via --extra-config-opt could prevent access to the repo by introducing requirements file. This does mean that custom extensions loaded in this way won't impact this test. I'm fine with that. Differential Revision: https://phab.mercurial-scm.org/D3115
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 04 Apr 2018 17:40:09 -0700
parents 432b85a46717
children 1a09886ab03a
line wrap: on
line diff
--- a/tests/test-hgrc.t	Wed Apr 04 17:33:59 2018 -0700
+++ b/tests/test-hgrc.t	Wed Apr 04 17:40:09 2018 -0700
@@ -1,11 +1,11 @@
-hide outer repo
-  $ hg init
-
 Use hgrc within $TESTTMP
 
   $ HGRCPATH=`pwd`/hgrc
   $ export HGRCPATH
 
+hide outer repo
+  $ hg init
+
 Use an alternate var for scribbling on hgrc to keep check-code from
 complaining about the important settings we may be overwriting: