sapling/edenscm/hgext/infinitepush
Mark Thomas 75ca3f73f7 infinitepush: delay import of sqlindex
Summary:
`infinitepush.sqlindex` depends on `mysql.connector`, which is only needed on
infinitepush servers using the sqlstore, and may not be otherwise available.
Delay the import of this module until we know for sure that it is needed.

Reviewed By: ikostia

Differential Revision: D15197758

fbshipit-source-id: 34f166ceab2530c875a4539089e544755f199b7b
2019-05-03 04:09:54 -07:00
..
__init__.py infinitepush: refactor common functions into common modules 2019-05-02 07:06:46 -07:00
bookmarks.py infinitepush: refactor common functions into common modules 2019-05-02 07:06:46 -07:00
bundleparts.py infinitepush: remove import cycle 2019-05-02 14:48:34 -07:00
bundlestore.py infinitepush: delay import of sqlindex 2019-05-03 04:09:54 -07:00
client.py infinitepush: remove import cycle 2019-05-02 14:48:34 -07:00
common.py infinitepush: remove import cycle 2019-05-02 14:48:34 -07:00
constants.py infinitepush: remove import cycle 2019-05-02 14:48:34 -07:00
fileindex.py infinitepush: refactor bundlestore 2019-05-02 07:06:45 -07:00
infinitepushcommands.py infinitepush: remove import cycle 2019-05-02 14:48:34 -07:00
README codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
server.py infinitepush: remove import cycle 2019-05-02 14:48:34 -07:00
sqlindex.py infinitepush: refactor bundlestore 2019-05-02 07:06:45 -07: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