sapling/hgext/infinitepush
Durham Goode 161a6ddc0d hg: make infinitepush rebundling use the right bundlecaps
Summary:
infinitepush rebundling wasn't passing the appropriate bundlecaps. This
caused treeonly repositories to receive flat manifests from infinitepush
bundles. This allowed treeonly clients to receive the data and convert it to
trees, but really we should just convert the data to trees on the server before
we send and not rely on the client to be able to accept flat manifests.

Now that we no longer send flat manifests, we rely on the recently added
conversion logic to turn flat manifests into trees when necessary.

This will be required for turning the server into a treeonly client anyway.

Differential Revision: D7256556

fbshipit-source-id: bbaf9d4570eebd9f200004e34044b5b1a8c53e2e
2018-04-13 21:51:29 -07:00
..
__init__.py hg: make infinitepush rebundling use the right bundlecaps 2018-04-13 21:51:29 -07:00
backupcommands.py Update markers during hg pullbackup 2018-04-13 21:51:23 -07:00
bundleparts.py Remove "bookprevnode" and "pushbackbookmarks" 2018-04-13 21:51:22 -07:00
common.py infinitepush: move infinitepush from fb-hgext to hgext 2018-01-10 08:10:27 -08:00
fileindexapi.py Improve UX for short hash infinitepush feature 2018-04-13 21:51:00 -07:00
indexapi.py Implement support for short hashes 2018-04-13 21:50:59 -07:00
infinitepushcommands.py infinitepush: fix test-check-code.t related errors 2018-01-10 08:10:27 -08:00
README infinitepush: move infinitepush from fb-hgext to hgext 2018-01-10 08:10:27 -08:00
sqlindexapi.py short hashes: warn if upload too old commit 2018-04-13 21:51:27 -07:00
store.py infinitepush: move infinitepush from fb-hgext to hgext 2018-01-10 08:10:27 -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