comparison mercurial/win32.py @ 30404:a1beadaa4061

manifest: change treemanifestctx to construct subtrees from the manifestlog Previously, treemanifestctx would directly construct its subtrees. By making it get the subtrees through manifestlog.get() we consolidate all treemanifestctx creation into manifestlog.get() and therefore extensions that need to wrap manifestctx creation (like narrow-hg) can intercept manifestctxs at that single place. This also means fetching subtrees will take advantage of the manifestlog ctx cache now, which it did not before.
author Durham Goode <durham@fb.com>
date Mon, 14 Nov 2016 15:24:07 -0800
parents 365812902904
children 344e68882cd3
comparison
equal deleted inserted replaced
30403:a431daa93f8c 30404:a1beadaa4061