[PATCH 4 of 7] bisect: set a blockedtag when running the check command

Simon Farnsworth simonfar at fb.com
Mon Mar 6 06:28:05 EST 2017


# HG changeset patch
# User Simon Farnsworth <simonfar at fb.com>
# Date 1488799590 28800
#      Mon Mar 06 03:26:30 2017 -0800
# Node ID 58598f53624156fc16d17d3223574bf4517d1bcf
# Parent  6cb267dc6b8156333413b6bbadc819807d73241c
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.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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:


More information about the Mercurial-devel mailing list