summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-07-18 11:09:47 +0200
committerJürg Billeter <j@bitron.ch>2017-07-20 07:24:56 +0200
commit9f21143fd01d8e14fd4a6c4de540adc7040b7ee8 (patch)
tree492b3fec31ec42158c4d69af00f5a7363d36dd86
parent62cd410c27b6d2a3a69d2f3c92d222e134f81f8d (diff)
downloadbuildstream-9f21143fd01d8e14fd4a6c4de540adc7040b7ee8.tar.gz
_pipeline.py: Fetch remote refs
-rw-r--r--buildstream/_pipeline.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 7df02586d..251b8680a 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -172,6 +172,9 @@ class Pipeline():
self.project._set_workspace(element, source, workspace)
+ if self.artifacts.can_fetch():
+ self.artifacts.fetch_remote_refs()
+
for element in self.dependencies(Scope.ALL):
if cache_ticker:
cache_ticker(element.name)