diff options
Diffstat (limited to 'buildstream/source.py')
-rw-r--r-- | buildstream/source.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildstream/source.py b/buildstream/source.py index bf7fa45f3..0a5c26cd1 100644 --- a/buildstream/source.py +++ b/buildstream/source.py @@ -529,6 +529,9 @@ class Source(Plugin): # Args: # new_ref (smth): The new reference to save # + # Returns: + # (bool): Whether the ref has changed + # # Raises: # (SourceError): In the case we encounter errors saving a file to disk # @@ -591,6 +594,8 @@ class Source(Plugin): else: self.warn("{}: Not persisting new reference in junctioned project".format(self)) + return changed + # Wrapper for track() # def _track(self): |