##// END OF EJS Templates
bisect: use subprocess to get command return code
Alexander Solovyov -
r8284:36c704b0 default
parent child Browse files
Show More
@@ -8,7 +8,7 b''
8 8 from node import hex, nullid, nullrev, short
9 9 from lock import release
10 10 from i18n import _, gettext
11 import os, re, sys, textwrap
11 import os, re, sys, textwrap, subprocess
12 12 import hg, util, revlog, bundlerepo, extensions, copies, context, error
13 13 import difflib, patch, time, help, mdiff, tempfile, url, encoding
14 14 import archival, changegroup, cmdutil, hgweb.server, sshserver, hbisect
@@ -343,7 +343,7 b' def bisect(ui, repo, rev=None, extra=Non'
343 343 try:
344 344 while changesets:
345 345 # update state
346 status = os.spawnl(os.P_WAIT, commandpath, commandpath)
346 status = subprocess.call([commandpath])
347 347 if status == 125:
348 348 transition = "skip"
349 349 elif status == 0:
General Comments 0
You need to be logged in to leave comments. Login now