Submitter | Pierre-Yves David |
---|---|
Date | Sept. 23, 2014, 10:47 p.m. |
Message ID | <a29e99d8280b35694255.1411512470@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/5936/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -424,11 +424,11 @@ def bisect(repo, subset, x): - ``current`` : the cset currently being bisected """ # i18n: "bisect" is a keyword status = getstring(x, _("bisect requires a string")).lower() state = set(hbisect.get(repo, status)) - return subset.filter(state.__contains__) + return subset & state # Backward-compatibility # - no help entry so that we do not advertise it any more def bisected(repo, subset, x): return bisect(repo, subset, x)