Mercurial > hg-stable
changeset 34804:149109c96904
run-tests: set HGPLAIN=1 when bisecting
Otherwise a customized template may break the regex matching the bisect
output.
Differential Revision: https://phab.mercurial-scm.org/D949
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 04 Oct 2017 18:51:21 -0700 |
parents | d817bf1fc675 |
children | c4a0480d1951 |
files | tests/run-tests.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Wed Oct 04 18:50:18 2017 -0700 +++ b/tests/run-tests.py Wed Oct 04 18:51:21 2017 -0700 @@ -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