mercurial/revlog.py
changeset 47186 93c2e6cdbd01
parent 47185 729668105901
child 47187 ef7a8a1622ad
--- a/mercurial/revlog.py	Mon May 03 12:26:17 2021 +0200
+++ b/mercurial/revlog.py	Mon May 03 12:26:27 2021 +0200
@@ -510,8 +510,8 @@
                     % (flags >> 16, fmt, self.display_id)
                 )
 
-            self._inline = header & FLAG_INLINE_DATA
-            self._generaldelta = header & FLAG_GENERALDELTA
+            self._inline = self._format_flags & FLAG_INLINE_DATA
+            self._generaldelta = self._format_flags & FLAG_GENERALDELTA
 
         elif fmt == REVLOGV2:
             if flags & ~REVLOGV2_FLAGS: