mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
b9fab6bc04
Summary: Remotefilelog can't find file revisions outside of the repo. Because of it user can't update to the revisions that was pulled from bundlestore. This diff downloads all filelogs for revisions from bundlestore. There were two options to pass info about changed files to remotefilelog: through config or through bundlecaps. I decided to use config because it's not really a bundle capability. Test Plan: Run `test-infinitepush-*` Reviewers: rmcelroy, mitrandir, durham Reviewed By: durham Subscribers: mjpieters, #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D4030065 Tasks: 12479677 Signature: t1:4030065:1476755932:4aa02e540f13d3221163d906524fb9ce97f9c7e8 |
||
---|---|---|
.. | ||
integrationtests | ||
tests | ||
__init__.py | ||
fileindexapi.py | ||
indexapi.py | ||
README | ||
sqlindexapi.py | ||
store.py |
## What is it? This extension adds ability to save certain pushes to a remote blob store as bundles and to serve commits from remote blob store. The revisions are stored on disk or in everstore. The metadata are stored in sql or on disk. ## Config options infinitepush.branchpattern: pattern to detect a scratchbranch, example 're:scratch/.+' infinitepush.indextype: disk or sql for the metadata infinitepush.reponame: only relevant for sql metadata backend, reponame to put in sql infinitepush.indexpath: only relevant for ondisk metadata backend, the path to store the index on disk. If not set will be under .hg in a folder named filebundlestore infinitepush.storepath: only relevant for ondisk metadata backend, the path to store the bundles. If not set, it will be .hg/filebundlestore