hgext/sqlitestore.py
changeset 46793 6266d19556ad
parent 46728 45f0d5297698
child 47055 d55b71393907
--- a/hgext/sqlitestore.py	Wed Mar 10 18:09:21 2021 +0100
+++ b/hgext/sqlitestore.py	Wed Jan 13 16:14:58 2021 +0100
@@ -54,6 +54,7 @@
 from mercurial.node import (
     nullid,
     nullrev,
+    sha1nodeconstants,
     short,
 )
 from mercurial.thirdparty import attr
@@ -305,6 +306,7 @@
     """Implements storage for an individual tracked path."""
 
     def __init__(self, db, path, compression):
+        self.nullid = sha1nodeconstants.nullid
         self._db = db
         self._path = path