mercurial/revset.py
changeset 22536 8040a44aab1c
parent 22535 44f471102f3a
child 22537 bbf4f3dfd700
--- a/mercurial/revset.py	Wed Sep 17 10:59:16 2014 -0700
+++ b/mercurial/revset.py	Wed Sep 17 19:52:34 2014 -0700
@@ -1167,7 +1167,7 @@
 
     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])``