diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2014-09-02 11:40:28 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-05 13:30:39 +0000 |
commit | 960616f9fdb11c790d935ad1403e742e87dccb5b (patch) | |
tree | 5f15aac1b4a8dc29c265ff5cf302c962f107d721 /morphlib | |
parent | 6ec86da74646cde7e5c3349e66be3a4751fd40a0 (diff) | |
download | morph-960616f9fdb11c790d935ad1403e742e87dccb5b.tar.gz |
Clarify log messages about git updating
Don't print 'Updating git repo xx' unless we actually are doing so. Also,
if we are doing an initial clone than make a status message for that too.
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/localrepocache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/localrepocache.py b/morphlib/localrepocache.py index 92c5e763..ce1be9e2 100644 --- a/morphlib/localrepocache.py +++ b/morphlib/localrepocache.py @@ -213,6 +213,7 @@ class LocalRepoCache(object): target = self._mkdtemp(self._cachedir) try: + self._app.status(msg='Cloning git repository %s into cache' % reponame) self._git(['clone', '--mirror', '-n', repourl, target], echo_stderr=self._app.settings['verbose']) except cliapp.AppException, e: @@ -251,4 +252,3 @@ class LocalRepoCache(object): else: cached_repo = self.get_repo(reponame) return cached_repo - |