From 4f8b2d05b6e321e5ad8b33af5ea4164cf3c5a061 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 9 Oct 2018 15:19:30 -0400 Subject: Fix docstring on FileBuildInfo per comment from @dirkbaechle --- src/engine/SCons/Node/FS.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 06f6a6a..2f18706 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -2494,9 +2494,17 @@ class FileNodeInfo(SCons.Node.NodeInfoBase): class FileBuildInfo(SCons.Node.BuildInfoBase): """ This is info loaded from sconsign. - We're adding dependency_map to cache file->csig mapping - for all dependencies. Currently this is only used when using - MD5-timestamp decider. (It's needed because + + Attributes unique to FileBuildInfo: + dependency_map : Caches file->csig mapping + for all dependencies. Currently this is only used when using + MD5-timestamp decider. + It's used to ensure that we copy the correct + csig from previous build to be written to .sconsign when current build + is done. Previously the matching of csig to file was strictly by order + they appeared in bdepends, bsources, or bimplicit, and so a change in order + or count of any of these could yield writing wrong csig, and then false positive + rebuilds """ __slots__ = ('dependency_map') current_version_id = 2 -- cgit v0.12