##// END OF EJS Templates
generatorset: implement isascending and isdescending
Pierre-Yves David -
r22801:6af9e9b6 default
parent child Browse files
Show More
@@ -2739,6 +2739,12 b' class generatorset(abstractsmartset):'
2739 def reverse(self):
2739 def reverse(self):
2740 self._ascending = not self._ascending
2740 self._ascending = not self._ascending
2741
2741
2742 def isascending(self):
2743 return self._ascending
2744
2745 def isdescending(self):
2746 return not self._ascending
2747
2742 def spanset(repo, start=None, end=None):
2748 def spanset(repo, start=None, end=None):
2743 """factory function to dispatch between fullreposet and actual spanset
2749 """factory function to dispatch between fullreposet and actual spanset
2744
2750
General Comments 0
You need to be logged in to leave comments. Login now