git-repo/subcmds
Shawn O. Pearce f322b9abb4 sync: Support downloading bundle to initialize repository
An HTTP (or HTTPS) based remote server may now offer a 'clone.bundle'
file in each repository's Git directory. Over an http:// or https://
remote repo will first ask for '$URL/clone.bundle', and if present
download this to bootstrap the local client, rather than relying
on the native Git transport to initialize the new repository.

Bundles may be hosted elsewhere. The client automatically follows a
HTTP 302 redirect to acquire the bundle file. This allows servers
to direct clients to cached copies residing on content delivery
networks, where the bundle may be closer to the end-user.

Bundle downloads are resumeable from where they last left off,
allowing clients to initialize large repositories even when the
connection gets interrupted.

If a bundle does not exist for a repository (a HTTP 404 response
code is returned for '$URL/clone.bundle'), the native Git transport
is used instead. If the client is performing a shallow sync, the
bundle transport is not used, as there is no way to embed shallow
data into the bundle.

Change-Id: I05dad17792fd6fd20635a0f71589566e557cc743
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-09-28 10:07:36 -07:00
..
__init__.py Initial Contribution 2008-10-21 07:00:00 -07:00
abandon.py Fixed repo abandon to give better messages. 2011-04-07 16:49:23 -04:00
branches.py branches: Enable output of multiple projects 2010-05-04 07:51:28 -07:00
checkout.py Fixed repo checkout error message when git reports errors. 2011-04-07 16:55:35 -04:00
cherry_pick.py Added repo cherry-pick command 2011-04-07 17:19:06 -04:00
diff.py Initial Contribution 2008-10-21 07:00:00 -07:00
download.py Fix to display the usage message of the command download when the user 2011-01-09 17:39:22 -08:00
forall.py forall: Silently skip missing projects 2011-01-09 17:39:22 -08:00
grep.py Fix format string bugs in grep 2010-06-17 19:09:37 -07:00
help.py help: Don't show empty Summary or Description sections 2011-01-09 17:39:22 -08:00
init.py sync: Support downloading bundle to initialize repository 2011-09-28 10:07:36 -07:00
list.py Add 'list' command to repo. 2011-03-16 12:55:44 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
prune.py Initial Contribution 2008-10-21 07:00:00 -07:00
rebase.py rebase: Pass through more options 2010-07-15 17:43:02 -07:00
selfupdate.py sync: Run git gc --auto after fetch 2011-01-09 17:39:22 -08:00
smartsync.py Aliasing sync -s to 'smartsync' 2010-05-17 09:58:55 -07:00
stage.py Only display project path in 'repo stage -i' 2009-04-18 11:22:13 -07:00
start.py Require a project or '--all' to be specified when using 'repo start'. 2009-04-22 18:05:50 -07:00
status.py Add option to check status of projects in parallel. 2011-04-07 16:36:42 -04:00
sync.py sync: Update default -j flag from manifest 2011-09-26 09:08:44 -07:00
upload.py Add branch support to repo upload 2011-05-26 10:49:39 -07:00
version.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00