equal
deleted
inserted
replaced
1209 for k in os.environ.keys(): |
1209 for k in os.environ.keys(): |
1210 if k.startswith('HG_'): |
1210 if k.startswith('HG_'): |
1211 # can't remove on solaris |
1211 # can't remove on solaris |
1212 os.environ[k] = '' |
1212 os.environ[k] = '' |
1213 del os.environ[k] |
1213 del os.environ[k] |
|
1214 if 'HG' in os.environ: |
|
1215 # can't remove on solaris |
|
1216 os.environ['HG'] = '' |
|
1217 del os.environ['HG'] |
1214 |
1218 |
1215 global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE |
1219 global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE |
1216 TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
1220 TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
1217 if options.tmpdir: |
1221 if options.tmpdir: |
1218 options.keep_tmpdir = True |
1222 options.keep_tmpdir = True |