mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
44997262d3
Summary: ui.shortuser() doesn't call util.shortuser() if ui.verbose equals to True. But in our case it's very important to always use short username because we'll get broken backups otherwise. Let's call util.shortuser() directly. Test Plan: arc unit Reviewers: #mercurial, mjpieters Reviewed By: mjpieters Subscribers: mjpieters, #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D4721949 Tasks: 15389402 Signature: t1:4721949:1489717973:b7e59929f530578e060b8cdef94ef92b54fa2647 |
||
---|---|---|
.. | ||
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