bisect: save current state before running a command stable
authorBryan O'Sullivan <bryano@fb.com>
Wed, 02 May 2012 17:15:11 -0700
branchstable
changeset 16593 e462313ef1bd
parent 16591 46e9ed223d2c
child 16594 5516fdf3fe24
bisect: save current state before running a command This prevents an external command being run during a bisect from querying stale data.
mercurial/commands.py
--- 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"