sapling/edenscm/hgext/infinitepush
Liubov Dmitrieva 380f425385 infinitepush: fix issue with discovery
Summary:
if server already have everything, the function should return True

otherwise we treat it as fail to backup in pushbackupbundlestacks function

failed to push stack bundle rooted at ...

Reviewed By: quark-zju

Differential Revision: D14048141

fbshipit-source-id: 288291db2f31b0d284c97fecbd61049a58c045de
2019-02-13 08:20:17 -08:00
..
__init__.py infinitepush: fix issue with discovery 2019-02-13 08:20:17 -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