diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-11 15:30:38 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-11 15:30:38 +0100 |
commit | 083595f45b91db88fb7fe9b25a58a41241b6ff89 (patch) | |
tree | 4b695b8ca32cd4ceba98018621a5ccbf47269016 /morph | |
parent | 5c65f5beb43e83ad2336fc717fb35d10c5d18976 (diff) | |
download | morph-083595f45b91db88fb7fe9b25a58a41241b6ff89.tar.gz |
morph update-gits: use return value of cache_repo
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -237,8 +237,7 @@ class Morph(cliapp.Application): while queue: reponame, ref, filename = queue.popleft() self.msg('Updating %s|%s|%s' % (reponame, ref, filename)) - cache.cache_repo(reponame) - repo = cache.get_repo(reponame) + repo = cache.cache_repo(reponame) repo.update() absref = repo.resolve_ref(ref) text = repo.cat(absref, filename) |