mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
fce353c28d
Previously fastannotate was creating filectx's by doing commitctx[path]. This invokes logic that resovles the filenode immediately, which require loading the manifest for that commit. In a repo where manifests are downloaded lazily, this can result in a lot of time spent downloading manifests. Since commands like hg blame -u only need the filectx so they can resolve the commitctx for commit information, let's just pass the commitctx straight to the filectx. It can later derive the filenode if it needs to. Differential Revision: https://phab.mercurial-scm.org/D1488 |
||
---|---|---|
.. | ||
__init__.py | ||
commands.py | ||
context.py | ||
error.py | ||
formatter.py | ||
protocol.py | ||
revmap.py | ||
support.py |