mercurial/streamclone.py
changeset 51548 1b17eeba9deb
parent 50928 d718eddf01d9
child 51550 463e63aa547c
--- a/mercurial/streamclone.py	Tue Mar 26 18:55:40 2024 +0000
+++ b/mercurial/streamclone.py	Tue Mar 26 11:24:20 2024 +0000
@@ -723,8 +723,8 @@
         # create a copy of volatile files
         for k, vfs, e in entries:
             for f in e.files():
-                f.file_size(vfs)  # record the expected size under lock
                 if f.is_volatile:
+                    f.file_size(vfs)  # record the expected size under lock
                     copy(vfs.join(f.unencoded_path))
         # the first yield release the lock on the repository
         yield None