diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2013-11-20 23:56:09 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2013-11-21 02:06:20 +0000 |
commit | 0e022734cd87b4967d9591e0a14e9103aab23113 (patch) | |
tree | 41ea594e5eeffd34d1c8f800537f118f034251c1 /morphlib/buildcommand.py | |
parent | 0b3ec68ce46f638e79e52f9f97f26727d9c4daa1 (diff) | |
download | morph-0e022734cd87b4967d9591e0a14e9103aab23113.tar.gz |
show which ref is expected for each stratum when preparing build
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r-- | morphlib/buildcommand.py | 3 |
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 " |