mercurial/revset.py
changeset 22748 852191f71df1
parent 22747 510432d66638
child 22749 672f15ee2a1d
equal deleted inserted replaced
22747:510432d66638 22748:852191f71df1
  2584     def _list(self):
  2584     def _list(self):
  2585         if not self._genlist:
  2585         if not self._genlist:
  2586             self._genlist = baseset(self._iterator())
  2586             self._genlist = baseset(self._iterator())
  2587         return self._genlist
  2587         return self._genlist
  2588 
  2588 
  2589     def filter(self, condition):
       
  2590         if self._ascending is not None:
       
  2591             return orderedlazyset(self, condition, ascending=self._ascending)
       
  2592         return filteredset(self, condition)
       
  2593 
       
  2594     def ascending(self):
  2589     def ascending(self):
  2595         if self._ascending is None:
  2590         if self._ascending is None:
  2596             self.sort()
  2591             self.sort()
  2597             self._ascending = True
  2592             self._ascending = True
  2598         else:
  2593         else: