Commit Graph

2 Commits

Author SHA1 Message Date
Durham Goode
5b01596008 sparse: move hgwatchman integration test to test-sparse-extensions.t
We now have a test file explicitly for extension integrations. So let's move the
hgwatchman test.  Includes some minor changes to make it work.
2015-06-15 17:44:39 -07:00
Durham Goode
59fcb5efbe sparse: add caching around sparse profile reading
Summary:
Previously we would have to decompress the entire manifest to check if each
sparse profile existed. This slowed hg status down by 500ms (2x).

This patch adds caching when simplecache is enabled.

Test Plan:
Added a test.  Also tried it in fbsource. Verified repeated hg
status's did not parse the manifest

Reviewers: rmcelroy, ericsumner, lcharignon, akushner, mitrandir

Differential Revision: https://phabricator.fb.com/D2158178
2015-06-15 17:20:53 -07:00