filteredset: use base implementation for __and__
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 01:23:12 -0500
changeset 22731 22c669f3a7f9
parent 22730 aeacc2055f0d
child 22732 52c81f2963fc
filteredset: use base implementation for __and__
mercurial/revset.py
--- a/mercurial/revset.py	Thu Oct 02 19:22:17 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 01:23:12 2014 -0500
@@ -2462,9 +2462,6 @@
             return None
         return lambda: self._iterfilter(it())
 
-    def __and__(self, x):
-        return filteredset(self, x.__contains__)
-
     def __sub__(self, x):
         return filteredset(self, lambda r: r not in x)