summaryrefslogtreecommitdiff
path: root/buildstream/source.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-14 16:34:21 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-14 17:14:36 -0500
commitd9d43000a2095670a73a4488089dcada464f8d7d (patch)
tree5333e353c52851d114d7ad88e38cc08ff419eb51 /buildstream/source.py
parente4217864e7e65ce5aa9bbc20ba40e45ebe76fe51 (diff)
downloadbuildstream-d9d43000a2095670a73a4488089dcada464f8d7d.tar.gz
source.py: INFO message when a source ref changes
Diffstat (limited to 'buildstream/source.py')
-rw-r--r--buildstream/source.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/source.py b/buildstream/source.py
index 7353aea69..93a7cc3ea 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -150,5 +150,7 @@ class Source(Plugin):
# It's consistent unless it reported an error
self.__consistent = True
+ if changed:
+ self.info("Revision updated at: {}".format(self._get_provenance()))
return changed