##// END OF EJS Templates
revset: use `subset &` in `bisect`...
Pierre-Yves David -
r22532:0cf46b82 default
parent child Browse files
Show More
@@ -426,7 +426,7 b' def bisect(repo, subset, x):'
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
General Comments 0
You need to be logged in to leave comments. Login now