mercurial/store.py
changeset 50641 5460424092e2
parent 50640 9caa860dcbec
child 50668 6b522a9e7451
--- a/mercurial/store.py	Mon May 29 14:07:58 2023 +0200
+++ b/mercurial/store.py	Mon May 29 18:41:58 2023 +0200
@@ -645,8 +645,11 @@
             if name_to_ext[f.unencoded_path] not in (b'.d', b'.i')
         ]
 
+        is_inline = b'.d' not in self._details
+
         rl = self.get_revlog_instance(repo).get_revlog()
-        rl_stream = rl.get_streams(max_changeset)
+        rl_stream = rl.get_streams(max_changeset, force_inline=is_inline)
+
         for name, s, size in rl_stream:
             if name_to_size.get(name, 0) != size:
                 msg = _(b"expected %d bytes but %d provided for %s")