changeset 22759:6a8c55d73c66

revset: remove now unused class _ascgeneratorset
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 12:52:49 -0500
parents 0fc52b01fb9e
children 13e179dca666
files mercurial/revset.py
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- 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