mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
0b56f3786a
Summary: - change the infinitepush extension to record additional state when the a backup occurs. - useful for other tools (scm-prompt, nuclide) to indicate when a backup hasn't occurred recently Test Plan: - cd facebook-hg-rpms/ - source hg-dev - cd fb-hgext - arc unit Reviewers: rmcelroy, stash Reviewed By: stash Subscribers: rmcelroy, medson, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5321221 Tasks: 18349390 Signature: t1:5321221:1501271966:6698785e0714e3ecf7e1e2684d1e62e52ac0f1a0 |
||
---|---|---|
.. | ||
__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