equal
deleted
inserted
replaced
2102 bisectcmd = ['hg', 'bisect'] |
2102 bisectcmd = ['hg', 'bisect'] |
2103 bisectrepo = self._runner.options.bisect_repo |
2103 bisectrepo = self._runner.options.bisect_repo |
2104 if bisectrepo: |
2104 if bisectrepo: |
2105 bisectcmd.extend(['-R', os.path.abspath(bisectrepo)]) |
2105 bisectcmd.extend(['-R', os.path.abspath(bisectrepo)]) |
2106 def pread(args): |
2106 def pread(args): |
|
2107 env = os.environ.copy() |
|
2108 env['HGPLAIN'] = '1' |
2107 p = subprocess.Popen(args, stderr=subprocess.STDOUT, |
2109 p = subprocess.Popen(args, stderr=subprocess.STDOUT, |
2108 stdout=subprocess.PIPE) |
2110 stdout=subprocess.PIPE, env=env) |
2109 data = p.stdout.read() |
2111 data = p.stdout.read() |
2110 p.wait() |
2112 p.wait() |
2111 return data |
2113 return data |
2112 for test in tests: |
2114 for test in tests: |
2113 pread(bisectcmd + ['--reset']), |
2115 pread(bisectcmd + ['--reset']), |