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.
This commit is contained in:
Simon Farnsworth 2017-03-06 03:26:30 -08:00
parent 36d4b32d0f
commit 63ca96dec0

View File

@ -886,7 +886,8 @@ def bisect(ui, repo, rev=None, extra=None, command=None,
# 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: