From 0e022734cd87b4967d9591e0a14e9103aab23113 Mon Sep 17 00:00:00 2001 From: Paul Sherwood Date: Wed, 20 Nov 2013 23:56:09 +0000 Subject: show which ref is expected for each stratum when preparing build --- morphlib/buildcommand.py | 3 +++ 1 file changed, 3 insertions(+) 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 " -- cgit v1.2.1