summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-24 12:12:46 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-24 12:12:46 +0100
commit2bfa43ce860599b024d98d53e388b5956cb90b32 (patch)
treef44d93f590b99b09128509958c9a8fa618fab7c3 /morphlib
parentd22e120835959a063913045ff7473e26b88afea8 (diff)
downloadmorph-2bfa43ce860599b024d98d53e388b5956cb90b32.tar.gz
morph edit: Print message when updating local cache
This can take a long time if it's a big repo that has not been used before, so explain to the user what the command is doing. FIXME: don't do it with --quiet
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/plugins/branch_and_merge_plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py
index c3a209b7..b1fa7fbb 100644
--- a/morphlib/plugins/branch_and_merge_plugin.py
+++ b/morphlib/plugins/branch_and_merge_plugin.py
@@ -186,6 +186,8 @@ class BranchAndMergePlugin(cliapp.Plugin):
self.app.settings['repo-alias'])
# Get the repository into the cache; make sure it is up to date.
+ self.app.status(msg='Updating git repository %(reponame)s',
+ reponame=reponame)
repo = cache.cache_repo(reponame)
if not self.app.settings['no-git-update']:
repo.update()