diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -2104,8 +2104,10 @@ if bisectrepo: bisectcmd.extend(['-R', os.path.abspath(bisectrepo)]) def pread(args): + env = os.environ.copy() + env['HGPLAIN'] = '1' p = subprocess.Popen(args, stderr=subprocess.STDOUT, - stdout=subprocess.PIPE) + stdout=subprocess.PIPE, env=env) data = p.stdout.read() p.wait() return data