summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-05-08 15:30:17 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-05-08 15:31:47 +0000
commit17702f32e4af3046f54133867ef291ff5e925aea (patch)
tree9bdbc252c9ad8ef3fc5bda25a428b105570e780b /morph
parent2d8e28873c5d09b243a3660350a3081c7de47407 (diff)
downloadmorph-17702f32e4af3046f54133867ef291ff5e925aea.tar.gz
Fix cmd_petrify to use the new RepoAliasResolver.
Diffstat (limited to 'morph')
-rwxr-xr-xmorph5
1 files changed, 3 insertions, 2 deletions
diff --git a/morph b/morph
index 18ab4285..3174a330 100755
--- a/morph
+++ b/morph
@@ -738,10 +738,11 @@ class Morph(cliapp.Application):
if not os.path.exists(self.settings['cachedir']):
os.mkdir(self.settings['cachedir'])
cachedir = os.path.join(self.settings['cachedir'], 'gits')
- aliases = self.settings['repo-alias']
+ repo_resolver = morphlib.repoaliasresolver.RepoAliasResolver(
+ self.settings['repo-alias'])
bundle_base_url = self.settings['bundle-server']
cache = morphlib.localrepocache.LocalRepoCache(
- cachedir, aliases, bundle_base_url)
+ cachedir, repo_resolver, bundle_base_url)
for filename in args:
with open(filename) as f: