changeset 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 3fbd8b862d66
children 9d4f09bfe3ec
files tests/test-hgrc.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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: