bisect: set a blockedtag when running the check command
authorSimon Farnsworth <simonfar@fb.com>
Mon, 06 Mar 2017 03:26:30 -0800
changeset 31200 426b3d1e82d0
parent 31199 3a03264de3eb
child 31201 50d76bae15cf
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.
mercurial/commands.py
--- 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: