changeset 22754:1119e544cd2d

baseset: rely on the abstractsmartset implementation for filter
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 03:19:00 -0500
parents 16c20403de80
children f9a825b593be
files mercurial/revset.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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