summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2013-11-20 23:56:09 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2013-11-21 02:06:20 +0000
commit0e022734cd87b4967d9591e0a14e9103aab23113 (patch)
tree41ea594e5eeffd34d1c8f800537f118f034251c1
parent0b3ec68ce46f638e79e52f9f97f26727d9c4daa1 (diff)
downloadmorph-0e022734cd87b4967d9591e0a14e9103aab23113.tar.gz
show which ref is expected for each stratum when preparing build
-rw-r--r--morphlib/buildcommand.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index 7b7612a4..8ad893a9 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -158,6 +158,9 @@ class BuildCommand(object):
# and Ref specified.
if src.morphology['kind'] == 'stratum':
name = src.morphology['name']
+ ref = src.sha1[:7]
+ self.app.status(msg='Stratum [%(name)s] version is %(ref)s',
+ name=name, ref=ref)
if name in stratum_names:
raise morphlib.Error(
"Conflicting versions of stratum '%s' appear in the "