[PATCH 1 of 4 hglib] tests: put some characters in HGRCPATH

Idan Kamara idankk86 at gmail.com
Mon Sep 26 14:40:58 CDT 2011


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1317065136 -10800
# Node ID 20ffb6486412791e56577e29dc3a95e8fc8a781f
# Parent  bdc1650f216cfe4c918c40667411daf7dacfadc8
tests: put some characters in HGRCPATH

so Windows actually sees the variable

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


More information about the Mercurial-devel mailing list