manifest: use the `read_delta_parents` method
Let's use the more accurate API.
--- a/mercurial/changegroup.py Thu Aug 01 13:12:49 2024 +0200
+++ b/mercurial/changegroup.py Thu Aug 01 13:15:10 2024 +0200
@@ -1830,7 +1830,8 @@
treemanifests to send.
"""
clnode = nodes[x]
- mdata = mfl.get(tree, x).readfast(shallow=True)
+ mctx = mfl.get(tree, x)
+ mdata = mctx.read_delta_parents(shallow=True, exact=False)
for p, n, fl in mdata.iterentries():
if fl == b't': # subdirectory manifest
subtree = tree + p + b'/'