bisect: save current state before running a command
This prevents an external command being run during a bisect from
querying stale data.
--- a/mercurial/commands.py Sun May 06 23:58:04 2012 +0900
+++ b/mercurial/commands.py Wed May 02 17:15:11 2012 -0700
@@ -647,6 +647,7 @@
try:
while changesets:
# update state
+ hbisect.save_state(repo, state)
status = util.system(command, out=ui.fout)
if status == 125:
transition = "skip"