mercurial/changegroup.py
changeset 51779 acc2d0f08fc9
parent 51699 ca7bde5dbafb
child 51782 e4954fd3d1c3
--- 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'/'