Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 15137:91f93dcd72aa
revset.bisect: add new 'pruned' set to the bisect keyword
The 'pruned' set is made of changesets that did participate to
the bisection. They are made of
- all good changesets
- all bad changsets
- all skipped changesets, provided they are in the bisection range
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 17:30:35 +0200 |
parents | 18219c0789ae |
children | 883d28233a4d |
line wrap: on
line diff
--- a/mercurial/revset.py Sat Sep 17 17:33:34 2011 +0200 +++ b/mercurial/revset.py Sat Sep 17 17:30:35 2011 +0200 @@ -241,6 +241,7 @@ ``skip``), or any of the meta-status: - ``range`` : all csets taking part in the bisection + - ``pruned`` : good|bad|skip, excluding out-of-range csets """ status = getstring(x, _("bisect requires a string")).lower() return [r for r in subset if r in hbisect.get(repo, status)]