You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 07:59:00 UTC
[buildstream] 24/26: element: fix bug causing workspaces to always
reprepare
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch traveltissues/mr4
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 3c35a5a64c2e7ba835f754d7d66aed9e498ad6c0
Author: Darius Makovsky <tr...@protonmail.com>
AuthorDate: Mon Jan 13 09:05:35 2020 +0000
element: fix bug causing workspaces to always reprepare
---
src/buildstream/element.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index c2018b3..d333a40 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -2390,7 +2390,7 @@ class Element(Plugin):
# like to get the saved old_ref and apply the new workspace on top
# to support incremental builds.
if [s._key for s in self.__sources] == [workspace.last_successful]:
- prepared = False
+ prepared = True
if not prepared:
self.prepare(sandbox)