sapling/fastmanifest
Tony Tung 24341537bf [fastmanifest] prune the cache only when the revset is empty
Summary:
Because we now prune in parallel to priming the cache, we no longer need the prune at the end.  The only scenario where we still need to prune is where we never enter the priming loop, i.e., when the revset is empty.

Depends on D3545267, D3544997

Test Plan: since we don't prune in many circumstances any more, the test output is slighty affected.  otherwise, the tests pass.

Reviewers: #fastmanifest, durham

Reviewed By: durham

Subscribers: durham, mitrandir, mjpieters

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

Signature: t1:3547219:1468373775:e4535e3a66fb362385a23b992749eb7c3fcf7ea1
2016-07-26 23:35:24 -07:00
..
__init__.py [fastmanifest] refactor limit code 2016-07-11 17:33:37 -07:00
cachemanager.py [fastmanifest] prune the cache only when the revset is empty 2016-07-26 23:35:24 -07:00
concurrency.py [fastmanifest] update comment to reflect the ugly truth 2016-06-24 16:13:21 -07:00
constants.py fastmanifest: add documentation of constants 2016-06-08 14:28:14 -07:00
debug.py [fastmanifest] add a uiproxy object that forwards requests to a real ui object 2016-07-05 16:32:05 -07:00
implementation.py [fastmanifest] tie a fastmanifestcache instance to each opener 2016-07-13 00:02:48 -07:00
metrics.py fastmanifest: fix logic error for debugmetrics and simplify test 2016-07-06 13:42:32 -07:00