mercurial/store.py
changeset 50502 32b4c2bbdb94
parent 50501 862e3a13da44
child 50509 a32d739b0ffb
equal deleted inserted replaced
50501:862e3a13da44 50502:32b4c2bbdb94
   683                     revlog_type=rl_type,
   683                     revlog_type=rl_type,
   684                     target_id=revlog_target_id,
   684                     target_id=revlog_target_id,
   685                     details=file_details,
   685                     details=file_details,
   686                 )
   686                 )
   687 
   687 
   688     def topfiles(self) -> Generator[BaseStoreEntry, None, None]:
   688     def top_entries(self) -> Generator[BaseStoreEntry, None, None]:
   689         files = reversed(self._walk(b'', False))
   689         files = reversed(self._walk(b'', False))
   690 
   690 
   691         changelogs = collections.defaultdict(dict)
   691         changelogs = collections.defaultdict(dict)
   692         manifestlogs = collections.defaultdict(dict)
   692         manifestlogs = collections.defaultdict(dict)
   693 
   693 
   735         are passed with matches the matcher
   735         are passed with matches the matcher
   736         """
   736         """
   737         # yield data files first
   737         # yield data files first
   738         for x in self.data_entries(matcher):
   738         for x in self.data_entries(matcher):
   739             yield x
   739             yield x
   740         for x in self.topfiles():
   740         for x in self.top_entries():
   741             yield x
   741             yield x
   742 
   742 
   743     def copylist(self):
   743     def copylist(self):
   744         return _data
   744         return _data
   745 
   745