D949: run-tests: set HGPLAIN=1 when bisecting

quark (Jun Wu) phabricator at mercurial-scm.org
Tue Oct 17 08:10:25 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG149109c96904: run-tests: set HGPLAIN=1 when bisecting (authored by quark, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D949?vs=2890&id=2901

REVISION DETAIL
  https://phab.mercurial-scm.org/D949

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS

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



To: quark, #hg-reviewers, ryanmce
Cc: mercurial-devel


More information about the Mercurial-devel mailing list