mercurial - How can I view the remaining changesets left to check in an hg bisect? -
when i'm running hg bisect, want "look ahead" @ what's remaining, see if there obvious culprits check while slow bisection test runs.
so given i've run
> hg bisect -g testing changeset 15802:446defa0e64a (8 changesets remaining, ~2 tests)
how can view 8 changesets remaining?
you can use bisect("untested")
revset view untested changesets. e.g.:
hg log -r 'bisect(untested)'
if information, can combine template option:
hg log -r 'bisect(untested)' -t '{rev}\n'
or can restrict output first , last entry of range:
hg log -r 'first(bisect(untested))+last(bisect(untested))'
you can create revset aliases in .hg/hgrc
or ~/.hgrc
file save typing, e.g.:
[revsetalias] tbt = bisect("untested") tbt2 = first(tbt)+last(tbt)
then can (for example):
hg log -r tbt
note if call revset alias untested
, you'll have quote string untested (e.g. bisect("untested")
), hence choice of tbt
(for "to tested").
see hg revsets
more revsets pertaining bisection.
Comments
Post a Comment