sapling/infinitepush
Durham Goode 0ea3abac80 infinitepush: send treepack parts with the client push
This makes the client side pushes also include tree packs in the push.

Also adds a test to see that the tree parts round trip between two tree-only
clients.

This was reverted in D921 because clients couldn't push old non-tree commits to
infinitepush anymore. I've fixed the issue and added a test to this commit.

Differential Revision: https://phab.mercurial-scm.org/D1017
2017-11-01 17:10:05 -07:00
..
__init__.py infinitepush: send treepack parts with the client push 2017-11-01 17:10:05 -07:00
backupcommands.py infinitepush: send treepack parts with the client push 2017-11-01 17:10:05 -07:00
bundleparts.py infinitepush: send treepack parts with the client push 2017-11-01 17:10:05 -07:00
common.py configs: remove config defaults for registered configs 2017-10-24 17:54:02 -07:00
fileindexapi.py infinitepush: put metadata fill in wlock 2017-07-17 04:02:43 -07:00
indexapi.py checkcode: remove unnecessary 'pass' statements 2017-10-04 18:55:07 -07:00
infinitepushcommands.py infinitepush: add metadatafilelimit option 2017-06-19 01:27:31 -07:00
README infinitepush: sample implementation 2016-08-26 06:09:01 -07:00
schema.sql infinitepush: update schema 2017-06-15 02:36:40 -07:00
sqlindexapi.py infinitepush: implement saveoptionaljsonmetadata for sqlindexapi 2017-06-19 01:27:31 -07:00
store.py infinitepush: fix string formatting 2017-02-03 07:10:53 -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