From 05631284b198df6c0d257f752a87539381c7c8b1 Mon Sep 17 00:00:00 2001 From: Paul Sherwood Date: Sun, 22 Jun 2014 21:52:55 +0000 Subject: Show-which-commit-morph-intends-to-build When debugging, it's useful to know exactly which version of a chunk morph is using --- morphlib/buildcommand.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index f68046e3..52576f8e 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -307,9 +307,10 @@ class BuildCommand(object): in either the local or remote cache already. ''' - self.app.status(msg='Building %(kind)s %(name)s', + self.app.status(msg='Building %(kind)s %(name)s %(sha1)s', name=artifact.name, - kind=artifact.source.morphology['kind']) + kind=artifact.source.morphology['kind'], + sha1=artifact.source.sha1[:7]) self.get_sources(artifact) deps = self.get_recursive_deps(artifact) -- cgit v1.2.1