mercurial/revset.py
changeset 22734 8e4ff34b69b2
parent 22733 3037cad75cf8
child 22735 38f0ab661b0f
equal deleted inserted replaced
22733:3037cad75cf8 22734:8e4ff34b69b2
  2498         return self._ascending is not None and self._ascending
  2498         return self._ascending is not None and self._ascending
  2499 
  2499 
  2500     def isdescending(self):
  2500     def isdescending(self):
  2501         return self._ascending is not None and not self._ascending
  2501         return self._ascending is not None and not self._ascending
  2502 
  2502 
  2503     def filter(self, l):
       
  2504         return filteredset(self, l)
       
  2505 
       
  2506 class orderedlazyset(_orderedsetmixin, filteredset):
  2503 class orderedlazyset(_orderedsetmixin, filteredset):
  2507     """Subclass of filteredset which subset can be ordered either ascending or
  2504     """Subclass of filteredset which subset can be ordered either ascending or
  2508     descendingly
  2505     descendingly
  2509     """
  2506     """
  2510     def __init__(self, subset, condition, ascending=True):
  2507     def __init__(self, subset, condition, ascending=True):