summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-19 14:46:33 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-19 15:11:47 +0900
commitd73d75c4e4091174cea307b2ff22687e8f513ef0 (patch)
treea3c26e85b4b56a9abebfcb8a12413664535bfe29
parent674378036f5389f319a712a58d0bae753af96067 (diff)
downloadbuildstream-d73d75c4e4091174cea307b2ff22687e8f513ef0.tar.gz
_frontend/cli.py: Set the track_selection argument to the deps parameter
Tell the pipeline to only track either 'none' or 'all' PipelineSelection modes. This fixes issue #367
-rw-r--r--buildstream/_frontend/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py
index 213c4ed1e..0edcb9944 100644
--- a/buildstream/_frontend/cli.py
+++ b/buildstream/_frontend/cli.py
@@ -312,8 +312,8 @@ def track(app, elements, deps, except_, cross_junctions):
with app.initialized(elements, session_name="Track", except_=except_, rewritable=True,
track_elements=elements,
track_cross_junctions=cross_junctions,
+ track_selection=deps,
fetch_subprojects=True):
- dependencies = app.pipeline.get_selection(deps)
app.pipeline.track(app.scheduler)