# HG changeset patch # User Pierre-Yves David # Date 1412324340 18000 # Node ID 1119e544cd2d338047b1b5b36d0eb5d84b788a4c # Parent 16c20403de80340ba9d7ff303d0267e6e4118f62 baseset: rely on the abstractsmartset implementation for filter diff -r 16c20403de80 -r 1119e544cd2d 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