mercurial/revset.py
changeset 22735 38f0ab661b0f
parent 22734 8e4ff34b69b2
child 22736 3439b66f506e
equal deleted inserted replaced
22734:8e4ff34b69b2 22735:38f0ab661b0f
  2960         return self._start <= self._end
  2960         return self._start <= self._end
  2961 
  2961 
  2962     def isdescending(self):
  2962     def isdescending(self):
  2963         return self._start >= self._end
  2963         return self._start >= self._end
  2964 
  2964 
  2965     def filter(self, l):
       
  2966         return orderedlazyset(self, l, ascending=self.isascending())
       
  2967 
       
  2968 class fullreposet(_spanset):
  2965 class fullreposet(_spanset):
  2969     """a set containing all revisions in the repo
  2966     """a set containing all revisions in the repo
  2970 
  2967 
  2971     This class exists to host special optimisation.
  2968     This class exists to host special optimisation.
  2972     """
  2969     """