##// END OF EJS Templates
revset: remove the now unused _descgeneratorset class
Pierre-Yves David -
r22761:d3068f70 default
parent child Browse files
Show More
@@ -2726,19 +2726,6 b' class _generatorset(abstractsmartset):'
2726 continue
2726 continue
2727 self._genlist.sort(reverse=reverse)
2727 self._genlist.sort(reverse=reverse)
2728
2728
2729 class _descgeneratorset(_generatorset):
2730 """Wrap a generator of descending elements for lazy iteration
2731
2732 Same structure as _generatorset but stops iterating after it goes past
2733 the value when asked for membership and the element is not contained
2734
2735 This class does not duck-type baseset and it's only supposed to be used
2736 internally
2737 """
2738
2739 def __init__(self, gen):
2740 super(_descgeneratorset, self).__init__(gen, iterasc=False)
2741
2742 def spanset(repo, start=None, end=None):
2729 def spanset(repo, start=None, end=None):
2743 """factory function to dispatch between fullreposet and actual spanset
2730 """factory function to dispatch between fullreposet and actual spanset
2744
2731
General Comments 0
You need to be logged in to leave comments. Login now