sapling/edenscm/hgext/infinitepush
Mark Thomas 4578cd921f infinitepush: don't include nullid in bundle roots
Summary:
When calculating bundleroots (the commits that are the common ancestors for the
infinitepush bundle), we currently include all the `nullid` parents (i.e. p2 for
most commits).  This bloats the size of the list, and is unnecessary.

Reviewed By: quark-zju

Differential Revision: D14385912

fbshipit-source-id: c518b8b1aa27cff8562c2358a024b8a08ced8cba
2019-03-11 04:25:20 -07:00
..
__init__.py infinitepush: don't include nullid in bundle roots 2019-03-11 04:25:20 -07:00
bundleparts.py infinitepush: exchange mutation information via infinitepush bundles 2019-03-08 03:05:57 -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