comparison mercurial/commands.py @ 7850:74c3baca65c9

bisect: fix --command for me.
author Augie Fackler <durin42@gmail.com>
date Mon, 09 Mar 2009 17:13:12 -0500
parents 89e05c02a4af
children d812029cda85 87c5a4af0b5a
comparison
equal deleted inserted replaced
7849:d5662e939893 7850:74c3baca65c9
329 commandpath = util.find_exe(command) 329 commandpath = util.find_exe(command)
330 changesets = 1 330 changesets = 1
331 try: 331 try:
332 while changesets: 332 while changesets:
333 # update state 333 # update state
334 status = os.spawnl(os.P_WAIT, commandpath) 334 status = os.spawnl(os.P_WAIT, commandpath, commandpath)
335 if status == 125: 335 if status == 125:
336 transition = "skip" 336 transition = "skip"
337 elif status == 0: 337 elif status == 0:
338 transition = "good" 338 transition = "good"
339 # status < 0 means process was killed 339 # status < 0 means process was killed