##// END OF EJS Templates
tests/run-tests: use $TMP on Windows (issue3490)...
Adrian Buehlmann -
r16890:4d958787 default
parent child Browse files
Show More
@@ -1246,7 +1246,12 b' def main():'
1246 #shutil.rmtree(tmpdir)
1246 #shutil.rmtree(tmpdir)
1247 os.makedirs(tmpdir)
1247 os.makedirs(tmpdir)
1248 else:
1248 else:
1249 tmpdir = tempfile.mkdtemp('', 'hgtests.')
1249 d = None
1250 if os.name == 'nt':
1251 # without this, we get the default temp dir location, but
1252 # in all lowercase, which causes troubles with paths (issue3490)
1253 d = os.getenv('TMP')
1254 tmpdir = tempfile.mkdtemp('', 'hgtests.', d)
1250 HGTMP = os.environ['HGTMP'] = os.path.realpath(tmpdir)
1255 HGTMP = os.environ['HGTMP'] = os.path.realpath(tmpdir)
1251 DAEMON_PIDS = None
1256 DAEMON_PIDS = None
1252 HGRCPATH = None
1257 HGRCPATH = None
General Comments 0
You need to be logged in to leave comments. Login now