summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-12-24 14:32:51 +0000
committerJürg Billeter <j@bitron.ch>2020-02-05 16:59:03 +0100
commit43b09b2226314e5d3a223fbb70b5216a85e321b5 (patch)
tree566c18c377b1e2ea1592ceb6bb23d669e56424a5 /src/buildstream/plugins
parentb48edd4199a04d7b10826a270a0bced59c1ec2e2 (diff)
downloadbuildstream-43b09b2226314e5d3a223fbb70b5216a85e321b5.tar.gz
workspace.py: Import mtimes when staging
Diffstat (limited to 'src/buildstream/plugins')
-rw-r--r--src/buildstream/plugins/sources/workspace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index ce62f3aff..f1ad2eead 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -96,7 +96,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(