comparison mercurial/revset.py @ 16647:14913fcb30c6

bisect: track the current changeset (issue3382) Introduce a new revset feature, bisect(current), that identifies the changeset currently being bisected.
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 08 May 2012 15:29:09 -0700
parents 592e0beee8b0
children b6081c2c4647
comparison
equal deleted inserted replaced
16646:a1dcd842ce17 16647:14913fcb30c6
287 - ``goods``, ``bads`` : csets topologicaly good/bad 287 - ``goods``, ``bads`` : csets topologicaly good/bad
288 - ``range`` : csets taking part in the bisection 288 - ``range`` : csets taking part in the bisection
289 - ``pruned`` : csets that are goods, bads or skipped 289 - ``pruned`` : csets that are goods, bads or skipped
290 - ``untested`` : csets whose fate is yet unknown 290 - ``untested`` : csets whose fate is yet unknown
291 - ``ignored`` : csets ignored due to DAG topology 291 - ``ignored`` : csets ignored due to DAG topology
292 - ``current`` : the cset currently being bisected
292 """ 293 """
293 status = getstring(x, _("bisect requires a string")).lower() 294 status = getstring(x, _("bisect requires a string")).lower()
294 state = set(hbisect.get(repo, status)) 295 state = set(hbisect.get(repo, status))
295 return [r for r in subset if r in state] 296 return [r for r in subset if r in state]
296 297