Patchwork D3115: tests: `hg init` after resetting HGRCPATH

login
register
mail settings
Submitter phabricator
Date April 5, 2018, 4:38 a.m.
Message ID <differential-rev-PHID-DREV-t2zxgltpqxxe4yuftbnt-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/30341/
State Superseded
Headers show

Comments

phabricator - April 5, 2018, 4:38 a.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3115

AFFECTED FILES
  tests/test-hgrc.t

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-hgrc.t b/tests/test-hgrc.t
--- a/tests/test-hgrc.t
+++ b/tests/test-hgrc.t
@@ -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: