revset: remove now unused class _ascgeneratorset
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 12:52:49 -0500
changeset 22759 6a8c55d73c66
parent 22758 0fc52b01fb9e
child 22760 13e179dca666
revset: remove now unused class _ascgeneratorset
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 03 12:52:17 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 12:52:49 2014 -0500
@@ -2726,19 +2726,6 @@
                 continue
         self._genlist.sort(reverse=reverse)
 
-class _ascgeneratorset(_generatorset):
-    """Wrap a generator of ascending elements for lazy iteration
-
-    Same structure as _generatorset but stops iterating after it goes past
-    the value when asked for membership and the element is not contained
-
-    This class does not duck-type baseset and it's only supposed to be used
-    internally
-    """
-
-    def __init__(self, gen):
-        super(_ascgeneratorset, self).__init__(gen, iterasc=True)
-
 class _descgeneratorset(_generatorset):
     """Wrap a generator of descending elements for lazy iteration