summaryrefslogtreecommitdiff
path: root/morphlib/plugins/show_dependencies_plugin.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-25 13:46:02 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-25 15:07:57 +0100
commitebed9ace77eed4b8e40675cff40a96f61ae291e2 (patch)
treef98202409666c39f3bea7cb5e1aca55c05002a7b /morphlib/plugins/show_dependencies_plugin.py
parentecdd22d0aa03ddb2bdac3fcba506d70d6ab45c4b (diff)
downloadmorph-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/show_dependencies_plugin.py')
-rw-r--r--morphlib/plugins/show_dependencies_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/show_dependencies_plugin.py b/morphlib/plugins/show_dependencies_plugin.py
index 8d805a35..dee84c59 100644
--- a/morphlib/plugins/show_dependencies_plugin.py
+++ b/morphlib/plugins/show_dependencies_plugin.py
@@ -36,11 +36,11 @@ class ShowDependenciesPlugin(cliapp.Plugin):
if not os.path.exists(self.app.settings['cachedir']):
os.mkdir(self.app.settings['cachedir'])
cachedir = os.path.join(self.app.settings['cachedir'], 'gits')
- bundle_base_url = self.app.settings['bundle-server']
+ tarball_base_url = self.app.settings['tarball-server']
repo_resolver = morphlib.repoaliasresolver.RepoAliasResolver(
self.app.settings['repo-alias'])
lrc = morphlib.localrepocache.LocalRepoCache(
- self.app, cachedir, repo_resolver, bundle_base_url)
+ self.app, cachedir, repo_resolver, tarball_base_url)
if self.app.settings['cache-server']:
rrc = morphlib.remoterepocache.RemoteRepoCache(
self.app.settings['cache-server'], repo_resolver)