sapling/edenscm/hgext/infinitepush
Liubov Dmitrieva 6f13efb795 infinitepush - prepare the code to use 'known' wireprotocol request for
Summary:
Prepare the code to use 'known' wireprotocol command to check what is backed up
on the server instead of slower 'lookup'. We don't need to reestablish ssh
connection, and we can test all the nodes in one go.

Also test the 'known' request with Mononoke is working (all commands have been
tested with isbackedupnodes => isbackedupnodes2)

Reviewed By: markbt

Differential Revision: D14131383

fbshipit-source-id: 5a150b64d0e84a02357c2367879b2da8493d9167
2019-02-19 08:48:07 -08:00
..
__init__.py infinitepush - prepare the code to use 'known' wireprotocol request for 2019-02-19 08:48:07 -08:00
bundleparts.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
common.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
fileindexapi.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
indexapi.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
infinitepushcommands.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
README codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
sqlindexapi.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
store.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00

## 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