comparison 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
comparison
equal deleted inserted replaced
15137:91f93dcd72aa 15138:883d28233a4d
240 Changesets marked in the specified bisect status (``good``, ``bad``, 240 Changesets marked in the specified bisect status (``good``, ``bad``,
241 ``skip``), or any of the meta-status: 241 ``skip``), or any of the meta-status:
242 242
243 - ``range`` : all csets taking part in the bisection 243 - ``range`` : all csets taking part in the bisection
244 - ``pruned`` : good|bad|skip, excluding out-of-range csets 244 - ``pruned`` : good|bad|skip, excluding out-of-range csets
245 - ``untested`` : csets whose fate is yet unknown
245 """ 246 """
246 status = getstring(x, _("bisect requires a string")).lower() 247 status = getstring(x, _("bisect requires a string")).lower()
247 return [r for r in subset if r in hbisect.get(repo, status)] 248 return [r for r in subset if r in hbisect.get(repo, status)]
248 249
249 # Backward-compatibility 250 # Backward-compatibility