changeset 22761:d3068f7056cd

revset: remove the now unused _descgeneratorset class
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 12:54:56 -0500
parents 13e179dca666
children 05b3238ba901
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:53:41 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 12:54:56 2014 -0500
@@ -2726,19 +2726,6 @@
                 continue
         self._genlist.sort(reverse=reverse)
 
-class _descgeneratorset(_generatorset):
-    """Wrap a generator of descending 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(_descgeneratorset, self).__init__(gen, iterasc=False)
-
 def spanset(repo, start=None, end=None):
     """factory function to dispatch between fullreposet and actual spanset