sapling/fastannotate
Jun Wu 22742a1054 fastannotate: conditionally disable remotefilelog annotate prefetching
Summary:
If the annotate cache is up-to-date on the main branch, there is likely no need
to prefetch file contents, unless the user is annotating a side branch, which
requires a deeper integration between fastannotate and remotefilelog to just
prefetch the missing part correctly - I'll think about it later while this diff seems
good enough for common cases.

Test Plan: Added a new test

Reviewers: durham, #sourcecontrol, stash

Reviewed By: stash

Subscribers: mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4256370

Signature: t1:4256370:1480612767:c2e2a9225fb63ff36ffb579f9641851eb8cd8b39
2016-12-01 02:12:53 +00:00
..
__init__.py fastannotate: conditionally disable remotefilelog annotate prefetching 2016-12-01 02:12:53 +00:00
commands.py fastannotate: skip downloading linelog if the file history is short 2016-12-01 00:23:24 +00:00
context.py fastannotate: some clean-ups before the remotefilelog change 2016-12-01 02:03:44 +00:00
error.py fastannotate: move exception classes to error.py 2016-09-08 14:47:49 +01:00
formatter.py fastannotate: support -r wdir() 2016-10-21 20:50:37 +01:00
protocol.py fastannotate: skip downloading linelog if the file history is short 2016-12-01 00:23:24 +00:00
revmap.py fastannotate: add a method to quickly get the last node of the revmap 2016-10-29 19:19:18 +01:00
support.py fastannotate: conditionally disable remotefilelog annotate prefetching 2016-12-01 02:12:53 +00:00