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 <[email protected]>
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")

Reply via email to