Differences From:
File
tools/cvs2fossil/lib/c2f_pfiltersym.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]
To:
File
tools/cvs2fossil/lib/c2f_pfiltersym.tcl
part of check-in
[8ce7ffff21]
- Bugfix in FilterSym pass. Grafting branches operated on the tags table :(
by
aku on
2007-11-28 08:35:41.
[view]
@@ -382,9 +382,9 @@
# Do the grafting.
log write 4 filtersym {\[[format $fmt $n]/$mxs\] $prname : Grafting tag '$tagname' on $fname/$revnr from '$oldname' onto '$preferedname'}
- state run { UPDATE tag SET lod = $pid WHERE tid = $id ; }
+ state run { UPDATE tag SET lod = $pid WHERE tid = $id }
incr n
}
log write 3 filtersym "Reparented [nsp $n tag]"
@@ -440,9 +440,9 @@
# Do the grafting.
log write 4 filtersym {\[[format $fmt $n]/$mxs\] $prname : Grafting branch '$braname' on $fname/$revnr from '$oldname' onto '$preferedname'}
- state run { UPDATE tag SET lod = $pid WHERE tid = $id ; }
+ state run { UPDATE branch SET lod = $pid WHERE bid = $id }
incr n
}
log write 3 filtersym "Reparented [nsp $n branch branches]"