mercurial/revlogutils/rewrite.py
changeset 51908 82a94a956c54
parent 51907 767f47fc9d42
child 51909 576876a518e1
--- a/mercurial/revlogutils/rewrite.py	Sat Jul 20 00:41:37 2024 +0200
+++ b/mercurial/revlogutils/rewrite.py	Sat Jul 20 00:59:50 2024 +0200
@@ -668,6 +668,7 @@
     chunk = delta()
     if not len(chunk):
         # No diff for this revision
+        metadata_cache[filerev] = parent_has_metadata
         return parent_has_metadata
 
     header_length = 12