Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 15138:883d28233a4d
revset.bisect: add new 'untested' set to the bisect keyword
The 'untested' set is made of changesets that are in the bisection range
but for which the status is still unknown, and that can later be used to
further decide on the bisection outcome.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
author | "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
---|---|
date | Sat, 17 Sep 2011 14:33:20 +0200 |
parents | 91f93dcd72aa |
children | 353a1ba928f6 |
line wrap: on
line diff
--- a/mercurial/revset.py Sat Sep 17 17:30:35 2011 +0200 +++ b/mercurial/revset.py Sat Sep 17 14:33:20 2011 +0200 @@ -242,6 +242,7 @@ - ``range`` : all csets taking part in the bisection - ``pruned`` : good|bad|skip, excluding out-of-range csets + - ``untested`` : csets whose fate is yet unknown """ status = getstring(x, _("bisect requires a string")).lower() return [r for r in subset if r in hbisect.get(repo, status)]