baseset: rely on the abstractsmartset implementation for filter
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 03:19:00 -0500
changeset 22754 1119e544cd2d
parent 22753 16c20403de80
child 22755 f9a825b593be
baseset: rely on the abstractsmartset implementation for filter
mercurial/revset.py
--- a/mercurial/revset.py	Thu Oct 02 19:48:14 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 03:19:00 2014 -0500
@@ -2375,15 +2375,6 @@
         This is part of the mandatory API for smartset."""
         return False
 
-    def filter(self, condition):
-        """Returns this smartset filtered by condition as a new smartset.
-
-        `condition` is a callable which takes a revision number and returns a
-        boolean.
-
-        This is part of the mandatory API for smartset."""
-        return filteredset(self, condition)
-
 class filteredset(abstractsmartset):
     """Duck type for baseset class which iterates lazily over the revisions in
     the subset and contains a function which tests for membership in the