mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
b6871085ab
Summary: Previously we only had incremental repacking for data packs. This patch adds it for history packs as well. The algorithm here is simpler, since the amount of history data is generally much smaller than the amount of delta data. The algorithm is basically: if there are 2 things bigger than 100MB, repack them; else repack up to 100MB of smaller things. The datapack hashes changed because having the history available during a repack allows us to make different decisions about delta ordering, etc. Test Plan: Updated the tsets Reviewers: mitrandir, #mercurial, ttung, rmcelroy Reviewed By: rmcelroy Subscribers: rmcelroy Differential Revision: https://phabricator.intern.facebook.com/D3306535 Signature: t1:3306535:1463696613:f40ed10c9dfed40d7bc455582592a7aed108ec3a |
||
---|---|---|
.. | ||
__init__.py | ||
basestore.py | ||
cacheclient.py | ||
constants.py | ||
contentstore.py | ||
datapack.py | ||
debugcommands.py | ||
fileserverclient.py | ||
historypack.py | ||
metadatastore.py | ||
remotefilectx.py | ||
remotefilelog.py | ||
remotefilelogserver.py | ||
repack.py | ||
shallowbundle.py | ||
shallowrepo.py | ||
shallowstore.py | ||
shallowutil.py | ||
shallowverifier.py |