[PATCH hglib] tests: set HGRCPATH so local hgrc's aren't loaded

Idan Kamara idankk86 at gmail.com
Fri Sep 9 15:06:05 CDT 2011


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1315598757 -10800
# Node ID bdc1650f216cfe4c918c40667411daf7dacfadc8
# Parent  e89dd99638cebbe4a163631b9fdac331b1a590a5
tests: set HGRCPATH so local hgrc's aren't loaded

diff --git a/tests/__init__.py b/tests/__init__.py
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -16,6 +16,7 @@
     os.environ["HGENCODINGMODE"] = "strict"
     tmpdir = tempfile.mkdtemp('', 'python-hglib.')
     os.environ["HGTMP"] = os.path.realpath(tmpdir)
+    os.environ["HGRCPATH"] = ""
 
 def tearDown(self):
     os.chdir('..')


More information about the Mercurial-devel mailing list