mercurial/revlogutils/revlogv0.py
changeset 47249 130c9f7ed914
parent 47248 013c645dd28c
child 47256 2b69555e4875
--- a/mercurial/revlogutils/revlogv0.py	Tue May 04 01:15:03 2021 +0200
+++ b/mercurial/revlogutils/revlogv0.py	Mon May 03 18:19:16 2021 +0200
@@ -9,6 +9,7 @@
 
 from ..node import sha1nodeconstants
 from .constants import (
+    COMP_MODE_INLINE,
     INDEX_ENTRY_V0,
 )
 from ..i18n import _
@@ -42,7 +43,19 @@
 
 class revlogoldindex(list):
     entry_size = INDEX_ENTRY_V0.size
-    null_item = (0, 0, 0, -1, -1, -1, -1, sha1nodeconstants.nullid, 0, 0)
+    null_item = (
+        0,
+        0,
+        0,
+        -1,
+        -1,
+        -1,
+        -1,
+        sha1nodeconstants.nullid,
+        0,
+        0,
+        COMP_MODE_INLINE,
+    )
 
     @property
     def nodemap(self):
@@ -138,6 +151,7 @@
             e[6],
             0,  # no side data support
             0,  # no side data support
+            COMP_MODE_INLINE,
         )
         index.append(e2)
         nodemap[e[6]] = n