changeset 31200:426b3d1e82d0

bisect: set a blockedtag when running the check command So that the hg bisect data clearly shows the bisect command separately to the main data set.
author Simon Farnsworth <simonfar@fb.com>
date Mon, 06 Mar 2017 03:26:30 -0800
parents 3a03264de3eb
children 50d76bae15cf
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Mar 06 03:25:44 2017 -0800
+++ b/mercurial/commands.py	Mon Mar 06 03:26:30 2017 -0800
@@ -886,7 +886,8 @@
                 # update state
                 state['current'] = [node]
                 hbisect.save_state(repo, state)
-                status = ui.system(command, environ={'HG_NODE': hex(node)})
+                status = ui.system(command, environ={'HG_NODE': hex(node)},
+                                   blockedtag='bisect_check')
                 if status == 125:
                     transition = "skip"
                 elif status == 0: