This is an archive of the discontinued Mercurial Phabricator instance.

fastmanifest: make usecache prevent cache creation
ClosedPublic

Authored by durham on Jul 20 2017, 8:15 AM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGX296920e70bc6: fastmanifest: make usecache prevent cache creation
Summary

Previously fastmanifest.usecache=False would only prevent the reading of the
fastmanifest cache, but the cache was still created. This created excess IO on
services that frequently recreated the repository.

Test Plan

Added a test

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durham created this revision.Jul 20 2017, 8:15 AM
quark accepted this revision.Jul 21 2017, 1:27 AM
This revision is now accepted and ready to land.Jul 21 2017, 1:27 AM
This revision was automatically updated to reflect the committed changes.