mercurial/revset.py
branchstable
changeset 21215 717ba2c3c9da
parent 21214 0952904dc1e5
child 21217 2195ac506c6a
--- a/mercurial/revset.py	Thu May 01 12:15:00 2014 -0700
+++ b/mercurial/revset.py	Thu May 01 12:15:28 2014 -0700
@@ -2419,7 +2419,7 @@
             self.reverse()
 
     def __and__(self, x):
-        return orderedlazyset(self, lambda r: r in x,
+        return orderedlazyset(self, x.__contains__,
                 ascending=self._ascending)
 
     def __sub__(self, x):