tests/run-tests.py
changeset 21300 a2774731a51a
parent 21299 7861de61583b
child 21301 a77f4c2e1898
--- a/tests/run-tests.py	Sat Apr 19 13:07:05 2014 -0700
+++ b/tests/run-tests.py	Sat Apr 19 13:11:49 2014 -0700
@@ -556,6 +556,8 @@
         os.mkdir(self.testtmp)
 
     def run(self, replacements, env):
+        createhgrc(env['HGRCPATH'], self._options)
+
         return self._run(replacements, env)
 
     def _run(self, replacements, env):
@@ -1020,7 +1022,6 @@
     t = runner(testpath, options, threadtmp)
     replacements, port = t.getreplacements(count)
     env = t.getenv(port)
-    createhgrc(env['HGRCPATH'], options)
 
     starttime = time.time()
     try: