mercurial/verify.py
changeset 50477 4cbdfab6f812
parent 50472 9fdc28e21b68
child 50504 862e3a13da44
--- a/mercurial/verify.py	Mon May 15 08:57:45 2023 +0200
+++ b/mercurial/verify.py	Mon May 15 08:58:01 2023 +0200
@@ -410,7 +410,7 @@
             for entry in repo.store.datafiles(undecodable=undecodable):
                 for file_ in entry.files():
                     f = file_.unencoded_path
-                    size = file_.file_size
+                    size = file_.file_size(repo.store.vfs)
                     if (size > 0 or not revlogv1) and f.startswith(b'meta/'):
                         storefiles.add(_normpath(f))
                         subdirs.add(os.path.dirname(f))
@@ -477,7 +477,7 @@
         undecodable = []
         for entry in repo.store.datafiles(undecodable=undecodable):
             for file_ in entry.files():
-                size = file_.file_size
+                size = file_.file_size(repo.store.vfs)
                 f = file_.unencoded_path
                 if (size > 0 or not revlogv1) and f.startswith(b'data/'):
                     storefiles.add(_normpath(f))