Submitter | Pierre-Yves David |
---|---|
Date | Sept. 23, 2014, 10:47 p.m. |
Message ID | <becb27aa41249d70db42.1411512474@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/5940/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -1165,11 +1165,11 @@ def origin(repo, subset, x): return src src = prev o = set([_firstsrc(r) for r in args]) o -= set([None]) - return subset.filter(o.__contains__) + return subset & o def outgoing(repo, subset, x): """``outgoing([path])`` Changesets not found in the specified destination repository, or the default push location.