diff options
| author | Steven Knight <knight@baldmt.com> | 2008-12-07 04:15:22 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2008-12-07 04:15:22 (GMT) |
| commit | 95ab453345e5f6eb290133a3de7c2ca3a3666dc4 (patch) | |
| tree | f50fe20eb526200c72926bf54201b5917fd65f2d /src/engine/SCons/Script | |
| parent | d869378a703fc690f78c75044a9469633ee33457 (diff) | |
| download | SCons-95ab453345e5f6eb290133a3de7c2ca3a3666dc4.zip SCons-95ab453345e5f6eb290133a3de7c2ca3a3666dc4.tar.gz SCons-95ab453345e5f6eb290133a3de7c2ca3a3666dc4.tar.bz2 | |
Issue 2265: Suppress messages about spurious dependency cycles.
(Jason Kenny)
Diffstat (limited to 'src/engine/SCons/Script')
| -rw-r--r-- | src/engine/SCons/Script/Interactive.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/engine/SCons/Script/Interactive.py b/src/engine/SCons/Script/Interactive.py index 4158f99..98a312b 100644 --- a/src/engine/SCons/Script/Interactive.py +++ b/src/engine/SCons/Script/Interactive.py @@ -258,14 +258,12 @@ class SConsInteractiveCmd(cmd.Cmd): # node.set_state() to reset it manually node.set_state(SCons.Node.no_state) node.implicit = None - # Make sure Taskmaster reference counts are reset to zero. - # - # TODO: Look for a way to avoid having to reset this here - # by making sure the Taskmaster will always end up reverting - # every Node's ref_count to 0 before terminating. That may - # provide clues about intermittent phantom cycles that have - # been reported (e.g. issue 2265 at tigris.org). - node.ref_count = 0 + + # Debug: Uncomment to verify that all Taskmaster reference + # counts have been reset to zero. + #if node.ref_count != 0: + # from SCons.Debug import Trace + # Trace('node %s, ref_count %s !!!\n' % (node, node.ref_count)) SCons.SConsign.Reset() SCons.Script.Main.progress_display("scons: done clearing node information.") |
