revlog: fix the `null_item` attribute for V0
This is not a proper index tuple.
Differential Revision: https://phab.mercurial-scm.org/D10645
--- a/mercurial/revlogutils/revlogv0.py Tue May 04 01:13:53 2021 +0200
+++ b/mercurial/revlogutils/revlogv0.py Tue May 04 01:15:03 2021 +0200
@@ -42,7 +42,7 @@
class revlogoldindex(list):
entry_size = INDEX_ENTRY_V0.size
- null_item = (0, 0, 0, -1, -1, -1, -1, node.nullid)
+ null_item = (0, 0, 0, -1, -1, -1, -1, sha1nodeconstants.nullid, 0, 0)
@property
def nodemap(self):