# HG changeset patch # User Pierre-Yves David # Date 2024-08-01 11:15:10 # Node ID acc2d0f08fc96e851dbf19b7976eacc048aa7c6d # Parent 4704c4c79f21288a65b02bced8261bf99a4b821e manifest: use the `read_delta_parents` method Let's use the more accurate API. diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -1830,7 +1830,8 @@ class cgpacker: 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'/'