Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 31210: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 | 052e4f1ffce9 |
children | 50d76bae15cf |
comparison
equal
deleted
inserted
replaced
31209:3a03264de3eb | 31210:426b3d1e82d0 |
---|---|
884 try: | 884 try: |
885 while changesets: | 885 while changesets: |
886 # update state | 886 # update state |
887 state['current'] = [node] | 887 state['current'] = [node] |
888 hbisect.save_state(repo, state) | 888 hbisect.save_state(repo, state) |
889 status = ui.system(command, environ={'HG_NODE': hex(node)}) | 889 status = ui.system(command, environ={'HG_NODE': hex(node)}, |
890 blockedtag='bisect_check') | |
890 if status == 125: | 891 if status == 125: |
891 transition = "skip" | 892 transition = "skip" |
892 elif status == 0: | 893 elif status == 0: |
893 transition = "good" | 894 transition = "good" |
894 # status < 0 means process was killed | 895 # status < 0 means process was killed |