changeset 16593:e462313ef1bd stable

bisect: save current state before running a command This prevents an external command being run during a bisect from querying stale data.
author Bryan O'Sullivan <bryano@fb.com>
date Wed, 02 May 2012 17:15:11 -0700
parents 46e9ed223d2c
children 5516fdf3fe24
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"