diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-16 11:49:47 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-16 11:49:47 +0100 |
commit | aa012fa8b6646fe6e5b56ff314c3eb9ada497760 (patch) | |
tree | 5ce9132edf2b9e88bfb07daa1736c1b429ec4a5a /morphlib | |
parent | 3015529556362c8bfb47096aacba83d33a49b586 (diff) | |
download | morph-aa012fa8b6646fe6e5b56ff314c3eb9ada497760.tar.gz |
Add status messages for git clones / updates
Diffstat (limited to 'morphlib')
-rwxr-xr-x | morphlib/app.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/app.py b/morphlib/app.py index fadb1c43..f1c683c2 100755 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -566,6 +566,8 @@ class Morph(cliapp.Application): if lrc.has_repo(reponame): repo = lrc.get_repo(reponame) if update: + self.status(msg='Updating cached git repository %(reponame)s', + reponame=reponame) repo.update() absref = repo.resolve_ref(ref) elif rrc != None: @@ -575,6 +577,8 @@ class Morph(cliapp.Application): pass if absref == None: if update: + self.status(msg='Caching git repository %(reponame)s', + reponame=reponame) repo = lrc.cache_repo(reponame) repo.update() else: |