##// END OF EJS Templates
run-tests: include quotes in the HGEDITOR value when storing sys.executable...
Matt Harbison -
r23347:49cdf51c default
parent child Browse files
Show More
@@ -649,7 +649,8 b' class Test(unittest.TestCase):'
649 env["HGPORT2"] = str(self._startport + 2)
649 env["HGPORT2"] = str(self._startport + 2)
650 env["HGRCPATH"] = os.path.join(self._threadtmp, '.hgrc')
650 env["HGRCPATH"] = os.path.join(self._threadtmp, '.hgrc')
651 env["DAEMON_PIDS"] = os.path.join(self._threadtmp, 'daemon.pids')
651 env["DAEMON_PIDS"] = os.path.join(self._threadtmp, 'daemon.pids')
652 env["HGEDITOR"] = sys.executable + ' -c "import sys; sys.exit(0)"'
652 env["HGEDITOR"] = ('"' + sys.executable + '"'
653 + ' -c "import sys; sys.exit(0)"')
653 env["HGMERGE"] = "internal:merge"
654 env["HGMERGE"] = "internal:merge"
654 env["HGUSER"] = "test"
655 env["HGUSER"] = "test"
655 env["HGENCODING"] = "ascii"
656 env["HGENCODING"] = "ascii"
General Comments 0
You need to be logged in to leave comments. Login now