Show More
@@ -380,20 +380,15 b' def createenv(options, testtmp):' | |||
|
380 | 380 | env['COLUMNS'] = '80' |
|
381 | 381 | env['TERM'] = 'xterm' |
|
382 | 382 | |
|
383 | env['CDPATH'] = '' | |
|
384 | env['GREP_OPTIONS'] = '' | |
|
385 | env['http_proxy'] = '' | |
|
386 | env['no_proxy'] = '' | |
|
387 | env['NO_PROXY'] = '' | |
|
383 | for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' + | |
|
384 | 'NO_PROXY').split(): | |
|
385 | if k in env: | |
|
386 | del env[k] | |
|
388 | 387 | |
|
389 | 388 | # unset env related to hooks |
|
390 | 389 | for k in env.keys(): |
|
391 | 390 | if k.startswith('HG_'): |
|
392 | 391 | del env[k] |
|
393 | if 'HG' in env: | |
|
394 | del env['HG'] | |
|
395 | if 'HGPROF' in env: | |
|
396 | del env['HGPROF'] | |
|
397 | 392 | |
|
398 | 393 | return env |
|
399 | 394 |
General Comments 0
You need to be logged in to leave comments.
Login now