mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
d610259241
Summary: infinitepushbackup.tempcleanworkingcopiesbackups option sends special command to clean backup bookmarks from the server for the shared working copy (i.e. if we have main repo `fbsource` and shared working copy `fbsource2` we want to have backups only for `fbsource` not for `fbsource` and `fbsource2`). Before this diff cleanup commands were send for every backup. This diff makes them send only if backup state file is present. Test Plan: arc unit Reviewers: #mercurial, durham Reviewed By: durham Subscribers: durham, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4929489 Signature: t1:4929489:1493075761:a408300338a10864043b538540d03880a49c4e1a |
||
---|---|---|
.. | ||
__init__.py | ||
backupcommands.py | ||
bundleparts.py | ||
common.py | ||
fileindexapi.py | ||
indexapi.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