mercurial/revset.py
changeset 22801 6af9e9b6af39
parent 22800 29a8c20e14a8
child 22802 1fcd361efaf4
equal deleted inserted replaced
22800:29a8c20e14a8 22801:6af9e9b6af39
  2737         self._ascending = not reverse
  2737         self._ascending = not reverse
  2738 
  2738 
  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 
  2745     Feel free to update all spanset call sites and kill this function at some
  2751     Feel free to update all spanset call sites and kill this function at some
  2746     point.
  2752     point.