--- a/tests/test-check-interfaces.py Thu Aug 09 14:31:25 2018 -0700
+++ b/tests/test-check-interfaces.py Thu Aug 09 15:40:14 2018 -0700
@@ -21,6 +21,7 @@
verify as ziverify,
)
from mercurial import (
+ changegroup,
bundlerepo,
filelog,
httppeer,
@@ -196,4 +197,29 @@
# Conforms to imanifestdict.
checkzobject(mctx.read())
+ ziverify.verifyClass(repository.irevisiondelta,
+ changegroup.revisiondelta)
+ ziverify.verifyClass(repository.irevisiondeltarequest,
+ changegroup.revisiondeltarequest)
+
+ rd = changegroup.revisiondelta(
+ node=b'',
+ p1node=b'',
+ p2node=b'',
+ basenode=b'',
+ linknode=b'',
+ flags=b'',
+ baserevisionsize=None,
+ revision=b'',
+ delta=None)
+ checkzobject(rd)
+
+ rdr = changegroup.revisiondeltarequest(
+ node=b'',
+ linknode=b'',
+ p1node=b'',
+ p2node=b'',
+ basenode=b'')
+ checkzobject(rdr)
+
main()