# HG changeset patch # User Bryan O'Sullivan # Date 1336004111 25200 # Node ID e462313ef1bd5a4aff601c4637580371553176ba # Parent 46e9ed223d2c8d1fc1b1b64c7f2dab795f5d690d bisect: save current state before running a command This prevents an external command being run during a bisect from querying stale data. diff -r 46e9ed223d2c -r e462313ef1bd 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"