sapling/remotefilelog
Durham Goode 4d92ad3ed7 Add optional cache validation
Summary:
There are reports of the local cache becoming invalid when stored on disk. This
adds an option that will do some basic validation and remediation for those
entries, and log some data to disk.

This is optional, since it incurs some performance overhead. We just want to use
it long enough to track down the issue.

Test Plan: Added a test

Reviewers: sid0, pyd, ericsumner, rmcelroy, mitrandir

Reviewed By: mitrandir

Differential Revision: https://phabricator.fb.com/D1774724

Signature: t1:1774724:1420827432:06ace9d1dc078f469e0f61ebd7f604fc3b606f6d
2015-01-08 18:59:04 -08:00
..
__init__.py [bundle2] insert ourselves into the cg1packer class hierarchy and fix up the packermap 2014-11-07 18:35:52 -08:00
cacheclient.py Add example cache client implementation 2013-10-17 14:18:23 -07:00
debugcommands.py Fix debugremotefilelog command 2013-12-13 11:42:50 -08:00
fileserverclient.py Add optional cache validation 2015-01-08 18:59:04 -08:00
remotefilectx.py Update remotefilectx.filectx to match upstream 2015-01-09 11:56:42 -08:00
remotefilelog.py Improve error message for corrupt cache files 2015-01-09 09:11:06 -08:00
remotefilelogserver.py Update to match Mercurial version b8c8cacd4482 2014-09-11 14:39:14 -07:00
shallowbundle.py [shallowbundle] don't drop units and reorder on the floor 2015-01-08 17:02:37 -08:00
shallowrepo.py Fix dirstate wrapping to match upstream 2014-10-22 12:36:53 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py [bundle2] insert ourselves into the cg1packer class hierarchy and fix up the packermap 2014-11-07 18:35:52 -08:00