sapling/hgext3rd/fastannotate
Durham Goode fce353c28d fastannotate: pass commitctx to filectx to prevent tree downloads
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
2017-11-27 16:33:50 -08:00
..
__init__.py fastannotate: mark as wlock safe 2017-07-14 16:11:55 -07:00
commands.py pager: migrate to modern pager API 2017-08-17 13:42:18 -07:00
context.py fastannotate: pass commitctx to filectx to prevent tree downloads 2017-11-27 16:33:50 -08:00
error.py checkcode: remove unnecessary 'pass' statements 2017-10-04 18:55:07 -07:00
formatter.py fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
protocol.py treemanifest: use a connectionpool 2017-11-21 06:52:51 -08:00
revmap.py fastannotate: move to hgext3rd 2017-05-23 11:47:22 -07:00
support.py fastannotate: be compatible with upstream change 2017-10-05 10:44:08 -07:00