mercurial/store.py
changeset 50505 32b4c2bbdb94
parent 50504 862e3a13da44
child 50512 a32d739b0ffb
--- a/mercurial/store.py	Tue May 16 10:43:36 2023 +0200
+++ b/mercurial/store.py	Tue May 16 10:44:25 2023 +0200
@@ -685,7 +685,7 @@
                     details=file_details,
                 )
 
-    def topfiles(self) -> Generator[BaseStoreEntry, None, None]:
+    def top_entries(self) -> Generator[BaseStoreEntry, None, None]:
         files = reversed(self._walk(b'', False))
 
         changelogs = collections.defaultdict(dict)
@@ -737,7 +737,7 @@
         # yield data files first
         for x in self.data_entries(matcher):
             yield x
-        for x in self.topfiles():
+        for x in self.top_entries():
             yield x
 
     def copylist(self):