Tristan Van Berkom pushed to branch master at BuildStream / buildstream
Commits:
-
2a2a79de
by Valentin David at 2018-08-29T14:11:48Z
-
2df7607c
by Tristan Van Berkom at 2018-08-29T14:43:55Z
1 changed file:
Changes:
| ... | ... | @@ -769,7 +769,8 @@ class Source(Plugin): |
| 769 | 769 |
#
|
| 770 | 770 |
# Step 2 - Set the ref in memory, and determine changed state
|
| 771 | 771 |
#
|
| 772 |
- changed = self._set_ref(new_ref, node)
|
|
| 772 |
+ if not self._set_ref(new_ref, node):
|
|
| 773 |
+ return False
|
|
| 773 | 774 |
|
| 774 | 775 |
def do_save_refs(refs):
|
| 775 | 776 |
try:
|
| ... | ... | @@ -806,7 +807,7 @@ class Source(Plugin): |
| 806 | 807 |
.format(provenance.filename.shortname),
|
| 807 | 808 |
reason="tracking-junction-fragment")
|
| 808 | 809 |
|
| 809 |
- return changed
|
|
| 810 |
+ return True
|
|
| 810 | 811 |
|
| 811 | 812 |
# Wrapper for track()
|
| 812 | 813 |
#
|
