diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-26 04:46:40 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-26 04:46:40 (GMT) |
commit | 048d75b8aa9ac50c7aaab8b7c0c31923482be8b2 (patch) | |
tree | 3cfd8035833d3c631087941278815b672fce4433 /src/engine/SCons/Node | |
parent | fb6c9bebf7006132df1cdff5ea34401abe7364d7 (diff) | |
download | SCons-048d75b8aa9ac50c7aaab8b7c0c31923482be8b2.zip SCons-048d75b8aa9ac50c7aaab8b7c0c31923482be8b2.tar.gz SCons-048d75b8aa9ac50c7aaab8b7c0c31923482be8b2.tar.bz2 |
leave some debug logic for detecting build action change signature changes commented out in file
Diffstat (limited to 'src/engine/SCons/Node')
-rw-r--r-- | src/engine/SCons/Node/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py index 2bf38c2..8e00fdb 100644 --- a/src/engine/SCons/Node/__init__.py +++ b/src/engine/SCons/Node/__init__.py @@ -350,6 +350,7 @@ class NodeInfoBase(object): """ __slots__ = ('__weakref__',) current_version_id = 2 + def update(self, node): try: field_list = self.field_list @@ -366,8 +367,10 @@ class NodeInfoBase(object): pass else: setattr(self, f, func()) + def convert(self, node, val): pass + def merge(self, other): """ Merge the fields of another object into this object. Already existing @@ -445,6 +448,7 @@ class BuildInfoBase(object): __slots__ = ("bsourcesigs", "bdependsigs", "bimplicitsigs", "bactsig", "bsources", "bdepends", "bact", "bimplicit", "__weakref__") current_version_id = 2 + def __init__(self): # Create an object attribute from the class attribute so it ends up # in the pickled data in the .sconsign file. @@ -452,6 +456,7 @@ class BuildInfoBase(object): self.bdependsigs = [] self.bimplicitsigs = [] self.bactsig = None + def merge(self, other): """ Merge the fields of another object into this object. Already existing @@ -1651,6 +1656,9 @@ class Node(object, with_metaclass(NoSlotsPyPy)): if old.bact == new.bact: lines.append("the contents of the build action changed\n" + fmt_with_title('action: ', new.bact)) + + # lines.append("the contents of the build action changed [%s] [%s]\n"%(old.bactsig,new.bactsig) + + # fmt_with_title('action: ', new.bact)) else: lines.append("the build action changed:\n" + fmt_with_title('old: ', old.bact) + |