You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 08:20:09 UTC

[buildstream] 01/02: stream: Allow refs to be used with deps none

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch raoul/pull-refs
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit b0795daa7e21b160e0f0c685c1d4762e07c14273
Author: Raoul Hidalgo Charman <ra...@codethink.co.uk>
AuthorDate: Fri Jul 5 15:59:06 2019 +0100

    stream: Allow refs to be used with deps none
---
 src/buildstream/_stream.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index c6d748f..0755e8b 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -397,7 +397,8 @@ class Stream():
                                  selection=selection,
                                  ignore_junction_targets=ignore_junction_targets,
                                  use_artifact_config=use_config,
-                                 artifact_remote_url=remote)
+                                 artifact_remote_url=remote,
+                                 load_refs=selection == PipelineSelection.NONE)
 
         if not self._artifacts.has_fetch_remotes():
             raise StreamError("No artifact caches available for pulling artifacts")