Tristan Van Berkom pushed to branch bst-1.2 at BuildStream / buildstream
Commits:
-
57c5f837
by Valentin David at 2018-08-30T10:43:24Z
-
017821c7
by Tristan Van Berkom at 2018-08-30T11:03:17Z
1 changed file:
Changes:
... | ... | @@ -739,7 +739,8 @@ class Source(Plugin): |
739 | 739 |
#
|
740 | 740 |
# Step 2 - Set the ref in memory, and determine changed state
|
741 | 741 |
#
|
742 |
- changed = self._set_ref(new_ref, node)
|
|
742 |
+ if not self._set_ref(new_ref, node):
|
|
743 |
+ return False
|
|
743 | 744 |
|
744 | 745 |
def do_save_refs(refs):
|
745 | 746 |
try:
|
... | ... | @@ -776,7 +777,7 @@ class Source(Plugin): |
776 | 777 |
.format(provenance.filename.shortname),
|
777 | 778 |
reason="tracking-junction-fragment")
|
778 | 779 |
|
779 |
- return changed
|
|
780 |
+ return True
|
|
780 | 781 |
|
781 | 782 |
# Wrapper for track()
|
782 | 783 |
#
|