mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
355498c9c9
Summary: Remotenames can return a name that has no nodes (it may exist in the remotename store, but when we go to resolve the node the node doesn't exist). So we need to check for existence after fetching the nodes. Test Plan: This was crashing for a user. After the fix they no longer crash. Reviewers: #mercurial, stash Reviewed By: stash Subscribers: mjpieters, medson Differential Revision: https://phabricator.intern.facebook.com/D5194317 Signature: t1:5194317:1496847686:ab05335284b83a2060c2bfea4beec6bf0453905c |
||
---|---|---|
.. | ||
__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