addset: use base implementation for __filter__
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 01:34:25 -0500
changeset 22748 852191f71df1
parent 22747 510432d66638
child 22749 672f15ee2a1d
addset: use base implementation for __filter__
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 03 01:33:32 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 01:34:25 2014 -0500
@@ -2586,11 +2586,6 @@
             self._genlist = baseset(self._iterator())
         return self._genlist
 
-    def filter(self, condition):
-        if self._ascending is not None:
-            return orderedlazyset(self, condition, ascending=self._ascending)
-        return filteredset(self, condition)
-
     def ascending(self):
         if self._ascending is None:
             self.sort()