Mercurial > public > mercurial-scm > hg
diff tests/run-tests.py @ 10903:cd21bf199d17
merge with stable
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 14 Apr 2010 09:09:43 +0200 |
parents | afbcea270bb8 4eb6311d217a |
children | 13a1b2fb7ef2 |
line wrap: on
line diff
--- a/tests/run-tests.py Tue Apr 13 17:58:38 2010 -0400 +++ b/tests/run-tests.py Wed Apr 14 09:09:43 2010 +0200 @@ -852,6 +852,11 @@ os.environ['GREP_OPTIONS'] = '' os.environ['http_proxy'] = '' + # unset env related to hooks + for k in os.environ.keys(): + if k.startswith('HG_'): + del os.environ[k] + global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE TESTDIR = os.environ["TESTDIR"] = os.getcwd() if options.tmpdir: