equal
deleted
inserted
replaced
424 - ``current`` : the cset currently being bisected |
424 - ``current`` : the cset currently being bisected |
425 """ |
425 """ |
426 # i18n: "bisect" is a keyword |
426 # i18n: "bisect" is a keyword |
427 status = getstring(x, _("bisect requires a string")).lower() |
427 status = getstring(x, _("bisect requires a string")).lower() |
428 state = set(hbisect.get(repo, status)) |
428 state = set(hbisect.get(repo, status)) |
429 return subset.filter(state.__contains__) |
429 return subset & state |
430 |
430 |
431 # Backward-compatibility |
431 # Backward-compatibility |
432 # - no help entry so that we do not advertise it any more |
432 # - no help entry so that we do not advertise it any more |
433 def bisected(repo, subset, x): |
433 def bisected(repo, subset, x): |
434 return bisect(repo, subset, x) |
434 return bisect(repo, subset, x) |