Differences From:
File
tools/cvs2fossil/lib/log.tcl
part of check-in
[b679ca3356]
- Code cleanup. Removed trailing whitespace across the board.
by
aku on
2007-11-25 07:54:09.
[view]
To:
File
tools/cvs2fossil/lib/log.tcl
part of check-in
[47d52d1efd]
- Added convenience method for assertions and used it in place of the existing if/trouble internal constructions. Changed API of 'log write' so that we can defer substituation of the message to when the write actually happen, and converted all places which would be hit by double-substitution. The remaining 'log write' calls will be converted incrementally.
by
aku on
2007-11-28 05:39:49.
[view]
@@ -31,9 +31,10 @@
# be blocked.
typemethod write {verbosity system text} {
if {$verbosity > $myloglevel} return
- uplevel #0 [linsert $mylogcmd end write [System $system] $text]
+ uplevel #0 [linsert $mylogcmd end write [System $system] \
+ [uplevel 1 [list ::subst $text]]]
return
}
# Similar to write, especially in the handling of the verbosity,