Show More
@@ -1246,7 +1246,12 b' def main():' | |||
|
1246 | 1246 | #shutil.rmtree(tmpdir) |
|
1247 | 1247 | os.makedirs(tmpdir) |
|
1248 | 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 | 1255 | HGTMP = os.environ['HGTMP'] = os.path.realpath(tmpdir) |
|
1251 | 1256 | DAEMON_PIDS = None |
|
1252 | 1257 | HGRCPATH = None |
General Comments 0
You need to be logged in to leave comments.
Login now