bisect(range)
あなたが参加したリビジョンを提供します。はい。あなたの問題は、出力であり、revsetではなく、出力オプションを取得する代わりにhg help template
をご覧ください。そこ
あなたは見つけることができます:
$ hg help template | grep ' bisect '
bisect String. The commit bisection status.
使用すること-T
テンプレートで:これは、あなたが自分のステータスと、参加ノードのリストを与える
hg log -r 'bisect(range)' -T '{node|short} - {bisect}\n'
。 good
,bad
,untested
,ignored
またはskipped
のいずれかです。
このテンプレートには、bisect
という名前のテンプレートもあります。これはbisect: {bisect}
ラインと単にデフォルトのテンプレートで追加:
hg log -r 'bisect(range)' -T bisect
shortbisect
フィルタもあります。フルテキストではなく、指定された2分位ステータスの1文字を返します。
hg log -r 'bisect(range)' -G \
--config "ui.graphnodetemplate={bisect|shortbisect}"
-T compact
G 1011 2391928719e 2017-09-21 15:58 +0530 author
| first line of commit message
|
G 1010 7321374343e 2017-09-21 15:58 +0530 author
| first line of commit message
|
B 1009 3232738237e 2017-09-21 15:58 +0530 author
| first line of commit message
|
B 1008 4873487473e 2017-09-21 15:58 +0530 author
| first line of commit message
|
B 1007 39732197132 2017-09-21 15:58 +0530 author
| first line of commit message
|
B 1006 39732197132 2017-09-21 15:58 +0530 author
| first line of commit message
~
のようなものを生成します。これは、
-G
グラフで、可能ノードのアイコン "を持っている状態を
{bisect|shortbisect}
から
ui.graphnodetemplate
オプションを設定すると便利です