You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:05:29 UTC
[buildstream] 12/26: workspace: import mtimes when staging
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch traveltissues/mr4
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit ce6b6c5c934071b36ba1b33a5704199fbf5d598c
Author: Darius Makovsky <tr...@protonmail.com>
AuthorDate: Tue Dec 24 14:32:51 2019 +0000
workspace: import mtimes when staging
---
src/buildstream/plugins/sources/workspace.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index 3d4c93b..5225b1a 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -98,7 +98,7 @@ class WorkspaceSource(Source):
def stage(self, directory: Directory) -> None:
assert isinstance(directory, Directory)
with self.timed_activity("Staging local files"):
- result = directory.import_files(self.path)
+ result = directory.import_files(self.path, properties=["MTime"])
if result.overwritten or result.ignored:
raise SourceError(