summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-10-09 19:19:30 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2018-11-12 16:47:05 (GMT)
commit4f8b2d05b6e321e5ad8b33af5ea4164cf3c5a061 (patch)
tree2b782bfd11ac4f68e303f30fc0f2ee7542a7498d
parente66888271c34ab081edc64a9245a435290db295d (diff)
downloadSCons-4f8b2d05b6e321e5ad8b33af5ea4164cf3c5a061.zip
SCons-4f8b2d05b6e321e5ad8b33af5ea4164cf3c5a061.tar.gz
SCons-4f8b2d05b6e321e5ad8b33af5ea4164cf3c5a061.tar.bz2
Fix docstring on FileBuildInfo per comment from @dirkbaechle
-rw-r--r--src/engine/SCons/Node/FS.py14
1 files 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