sapling/eden/scm/edenscm/hgext/infinitepush
Xavier Deguillard 76dd52a310 infinitepush: only open a transaction when deleting bookmarks
Summary: There is no need to open a transaction otherwise.

Reviewed By: DurhamG

Differential Revision: D20109840

fbshipit-source-id: e47adaaeea2d7565f3629701d8de4a67d4b55182
2020-02-26 10:27:05 -08:00
..
__init__.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
bookmarks.py py3: fix misc encoding errors that showed up in tests 2020-02-17 14:52:34 -08:00
bundleparts.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
bundlestore.py py3: fix some infinitepush py3 issues 2020-02-17 14:52:36 -08:00
client.py infinitepush: only open a transaction when deleting bookmarks 2020-02-26 10:27:05 -08:00
common.py py3: fix some infinitepush py3 issues 2020-02-17 14:52:36 -08:00
constants.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
fileindex.py py3: fix some infinitepush py3 issues 2020-02-17 14:52:36 -08:00
infinitepushcommands.py py3: get several infinitepush tests passing 2020-02-17 14:52:36 -08:00
README Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
server.py py3: fix some infinitepush py3 issues 2020-02-17 14:52:36 -08:00
sqlindex.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -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