equal
deleted
inserted
replaced
1828 Note that this means manifests must be completely sent to |
1828 Note that this means manifests must be completely sent to |
1829 the client before you can trust the list of files and |
1829 the client before you can trust the list of files and |
1830 treemanifests to send. |
1830 treemanifests to send. |
1831 """ |
1831 """ |
1832 clnode = nodes[x] |
1832 clnode = nodes[x] |
1833 mdata = mfl.get(tree, x).readfast(shallow=True) |
1833 mctx = mfl.get(tree, x) |
|
1834 mdata = mctx.read_delta_parents(shallow=True, exact=False) |
1834 for p, n, fl in mdata.iterentries(): |
1835 for p, n, fl in mdata.iterentries(): |
1835 if fl == b't': # subdirectory manifest |
1836 if fl == b't': # subdirectory manifest |
1836 subtree = tree + p + b'/' |
1837 subtree = tree + p + b'/' |
1837 tmfclnodes = tmfnodes.setdefault(subtree, {}) |
1838 tmfclnodes = tmfnodes.setdefault(subtree, {}) |
1838 tmfclnode = tmfclnodes.setdefault(n, clnode) |
1839 tmfclnode = tmfclnodes.setdefault(n, clnode) |