summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/source.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildstream/source.py b/buildstream/source.py
index 6d5640532..f86c42d81 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -774,7 +774,8 @@ class Source(Plugin):
#
# Step 2 - Set the ref in memory, and determine changed state
#
- changed = self._set_ref(new_ref, node)
+ if not self._set_ref(new_ref, node):
+ return False
def do_save_refs(refs):
try:
@@ -811,7 +812,7 @@ class Source(Plugin):
.format(provenance.filename.shortname),
reason="tracking-junction-fragment")
- return changed
+ return True
# Wrapper for track()
#