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/util.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/util.py')
-rw-r--r-- | morphlib/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/util.py b/morphlib/util.py index ce9d0dc9..af7c59ba 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -149,10 +149,10 @@ def new_repo_caches(app): # pragma: no cover aliases = app.settings['repo-alias'] cachedir = create_cachedir(app.settings) gits_dir = os.path.join(cachedir, 'gits') - bundle_base_url = app.settings['bundle-server'] + tarball_base_url = app.settings['tarball-server'] repo_resolver = morphlib.repoaliasresolver.RepoAliasResolver(aliases) lrc = morphlib.localrepocache.LocalRepoCache( - app, gits_dir, repo_resolver, bundle_base_url=bundle_base_url) + app, gits_dir, repo_resolver, tarball_base_url=tarball_base_url) url = app.settings['cache-server'] if url: |