diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-25 13:46:02 +0000 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-25 15:07:57 +0100 |
commit | ebed9ace77eed4b8e40675cff40a96f61ae291e2 (patch) | |
tree | f98202409666c39f3bea7cb5e1aca55c05002a7b /morphlib/plugins/update_gits_plugin.py | |
parent | ecdd22d0aa03ddb2bdac3fcba506d70d6ab45c4b (diff) | |
download | morph-ebed9ace77eed4b8e40675cff40a96f61ae291e2.tar.gz |
Use tarballs instead of bundles
This makes a non-backward-compatible change to morph which switches it to using
tarballs instead of bundles when initialising cached git repositories. This is
faster because it doesn't require index-pack --fix-thin operations on the
machine running morph.
Diffstat (limited to 'morphlib/plugins/update_gits_plugin.py')
-rw-r--r-- | morphlib/plugins/update_gits_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/update_gits_plugin.py b/morphlib/plugins/update_gits_plugin.py index 92a687a3..608b34f1 100644 --- a/morphlib/plugins/update_gits_plugin.py +++ b/morphlib/plugins/update_gits_plugin.py @@ -45,9 +45,9 @@ class UpdateGitsPlugin(cliapp.Plugin): cachedir = os.path.join(app.settings['cachedir'], 'gits') repo_resolver = morphlib.repoaliasresolver.RepoAliasResolver( app.settings['repo-alias']) - bundle_base_url = app.settings['bundle-server'] + tarball_base_url = app.settings['tarball-server'] cache = morphlib.localrepocache.LocalRepoCache( - app, cachedir, repo_resolver, bundle_base_url) + app, cachedir, repo_resolver, tarball_base_url) subs_to_process = set() |