--- a/mercurial/interfaces/repository.py Wed Mar 10 18:09:21 2021 +0100
+++ b/mercurial/interfaces/repository.py Wed Jan 13 16:14:58 2021 +0100
@@ -523,6 +523,10 @@
* Metadata to facilitate storage.
"""
+ nullid = interfaceutil.Attribute(
+ """node for the null revision for use as delta base."""
+ )
+
def __len__():
"""Obtain the number of revisions stored for this file."""
@@ -1143,6 +1147,10 @@
class imanifeststorage(interfaceutil.Interface):
"""Storage interface for manifest data."""
+ nodeconstants = interfaceutil.Attribute(
+ """nodeconstants used by the current repository."""
+ )
+
tree = interfaceutil.Attribute(
"""The path to the directory this manifest tracks.
@@ -1366,6 +1374,10 @@
tree manifests.
"""
+ nodeconstants = interfaceutil.Attribute(
+ """nodeconstants used by the current repository."""
+ )
+
def __getitem__(node):
"""Obtain a manifest instance for a given binary node.
@@ -1434,6 +1446,13 @@
This currently captures the reality of things - not how things should be.
"""
+ nodeconstants = interfaceutil.Attribute(
+ """Constant nodes matching the hash function used by the repository."""
+ )
+ nullid = interfaceutil.Attribute(
+ """null revision for the hash function used by the repository."""
+ )
+
supportedformats = interfaceutil.Attribute(
"""Set of requirements that apply to stream clone.