diff options
Diffstat (limited to 'buildstream/source.py')
-rw-r--r-- | buildstream/source.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/source.py b/buildstream/source.py index d43a57f1c..4882415f4 100644 --- a/buildstream/source.py +++ b/buildstream/source.py @@ -376,6 +376,10 @@ class Source(Plugin): new_ref = self.track() current_ref = self.get_ref() + if new_ref is None: + # No tracking, keep current ref + new_ref = current_ref + if current_ref != new_ref: self.info("Found new revision: {}".format(new_ref)) |