mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
17c16cf610
Summary: Previously, if pullprefetch was set, we'd perform a prefetch of the entire manifest of the specified revs (usually the public bookmarks). This involved stat-ing all the relevant files in the cache to see if they already existed, which added an extra 6 seconds or so to every pull. Now we only prefetch the files that are different from our working copy. We assume we already have all the files that are in our working copy. This reduces the pullprefetch overhead significantly. Test Plan: Did a pull on my laptop. Verified it didn't hang for 6 seconds at the prefetch stage. Also updated a test Reviewers: davidsp, pyd, sid0 Reviewed By: sid0 Differential Revision: https://phabricator.fb.com/D1505841 Tasks: 4608894 |
||
---|---|---|
.. | ||
__init__.py | ||
cacheclient.py | ||
debugcommands.py | ||
fileserverclient.py | ||
remotefilectx.py | ||
remotefilelog.py | ||
remotefilelogserver.py | ||
shallowbundle.py | ||
shallowrepo.py | ||
shallowstore.py |