mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
e094644fb2
Summary: Previously we don't set findcommonincoming to True, and that bug was unnoticed because we send this info anyway in server-side `getbundlechunks()` function. But next diff in the stack uses a fast path server-side which won't work if fincommonincoming is not set to True. Test Plan: arc unit Reviewers: #mercurial, durham Reviewed By: durham Subscribers: durham, mjpieters, #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D4770830 Tasks: 15389402 Signature: t1:4770830:1490719209:c251002d992e244580b7dbfeca0c30dff95734d2 |
||
---|---|---|
.. | ||
integrationtests | ||
tests | ||
__init__.py | ||
backupcommands.py | ||
bundleparts.py | ||
common.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