mercurial/revset.py
changeset 15136 18219c0789ae
parent 15135 f19de58af225
child 15137 91f93dcd72aa
equal deleted inserted replaced
15135:f19de58af225 15136:18219c0789ae
   235     n = getstring(x, _("author requires a string")).lower()
   235     n = getstring(x, _("author requires a string")).lower()
   236     return [r for r in subset if n in repo[r].user().lower()]
   236     return [r for r in subset if n in repo[r].user().lower()]
   237 
   237 
   238 def bisect(repo, subset, x):
   238 def bisect(repo, subset, x):
   239     """``bisect(string)``
   239     """``bisect(string)``
   240     Changesets marked in the specified bisect status (good, bad, skip).
   240     Changesets marked in the specified bisect status (``good``, ``bad``,
       
   241     ``skip``), or any of the meta-status:
       
   242 
       
   243     - ``range``      : all csets taking part in the bisection
   241     """
   244     """
   242     status = getstring(x, _("bisect requires a string")).lower()
   245     status = getstring(x, _("bisect requires a string")).lower()
   243     return [r for r in subset if r in hbisect.get(repo, status)]
   246     return [r for r in subset if r in hbisect.get(repo, status)]
   244 
   247 
   245 # Backward-compatibility
   248 # Backward-compatibility