diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-05-08 15:30:17 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-05-08 15:31:47 +0000 |
commit | 17702f32e4af3046f54133867ef291ff5e925aea (patch) | |
tree | 9bdbc252c9ad8ef3fc5bda25a428b105570e780b | |
parent | 2d8e28873c5d09b243a3660350a3081c7de47407 (diff) | |
download | morph-17702f32e4af3046f54133867ef291ff5e925aea.tar.gz |
Fix cmd_petrify to use the new RepoAliasResolver.
-rwxr-xr-x | morph | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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: |