mercurial/verify.py
changeset 50472 9fdc28e21b68
parent 50471 521fec115dad
child 50477 4cbdfab6f812
--- a/mercurial/verify.py	Mon May 15 08:56:23 2023 +0200
+++ b/mercurial/verify.py	Mon May 15 08:56:40 2023 +0200
@@ -408,11 +408,12 @@
             revlogv1 = self.revlogv1
             undecodable = []
             for entry in repo.store.datafiles(undecodable=undecodable):
-                f = entry.unencoded_path
-                size = entry.file_size
-                if (size > 0 or not revlogv1) and f.startswith(b'meta/'):
-                    storefiles.add(_normpath(f))
-                    subdirs.add(os.path.dirname(f))
+                for file_ in entry.files():
+                    f = file_.unencoded_path
+                    size = file_.file_size
+                    if (size > 0 or not revlogv1) and f.startswith(b'meta/'):
+                        storefiles.add(_normpath(f))
+                        subdirs.add(os.path.dirname(f))
             for f in undecodable:
                 self._err(None, _(b"cannot decode filename '%s'") % f)
             subdirprogress = ui.makeprogress(
@@ -475,10 +476,11 @@
         storefiles = set()
         undecodable = []
         for entry in repo.store.datafiles(undecodable=undecodable):
-            size = entry.file_size
-            f = entry.unencoded_path
-            if (size > 0 or not revlogv1) and f.startswith(b'data/'):
-                storefiles.add(_normpath(f))
+            for file_ in entry.files():
+                size = file_.file_size
+                f = file_.unencoded_path
+                if (size > 0 or not revlogv1) and f.startswith(b'data/'):
+                    storefiles.add(_normpath(f))
         for f in undecodable:
             self._err(None, _(b"cannot decode filename '%s'") % f)