mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
909bea3df8
Summary: remotenames extension has a heuristic that speeds up discovery. Unfortunately it may result in sending public commits to infinitepush server. This diff intentionally disables this heuristic for infinitepush backups. Test Plan: Run tests Reviewers: #fbhgext, mbthomas Reviewed By: #fbhgext, mbthomas Subscribers: durham Differential Revision: https://phab.mercurial-scm.org/D1505 |
||
---|---|---|
.. | ||
__init__.py | ||
backupcommands.py | ||
bundleparts.py | ||
common.py | ||
fileindexapi.py | ||
indexapi.py | ||
infinitepushcommands.py | ||
README | ||
schema.sql | ||
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