diff mercurial/similar.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 0d83ad967bf8
children ada160a8cfd8
line wrap: on
line diff