Fossil SCM

Tweaked log output of filtering pass a bit.

aku 2007-11-25 02:54 trunk
Commit b41127b9d811b2ae6ab4102bb8c2697f60cc1af1
--- tools/cvs2fossil/lib/c2f_pfiltersym.tcl
+++ tools/cvs2fossil/lib/c2f_pfiltersym.tcl
@@ -243,12 +243,15 @@
243243
FROM branch B, symbol S
244244
WHERE B.sid = S.sid
245245
AND S.type = $tag
246246
}]
247247
248
- log write 4 filtersym "Changing [nsp [expr {[llength $tagstomutate]/5}] tag] into branches"
249
- log write 4 filtersym "Changing [nsp [expr {[llength $branchestomutate]/7}] branch branches] into tags"
248
+ set nt [expr {[llength $tagstomutate]/5}]
249
+ set nb [expr {[llength $branchestomutate]/7}]
250
+
251
+ log write 4 filtersym "Changing [nsp $nt tag] into [nsp $nt branch branches]"
252
+ log write 4 filtersym "Changing [nsp $nb branch branches] into [nsp $nb tag]"
250253
251254
# # ## ### ##### ######## #############
252255
253256
log write 3 filtersym "Mutate tags to branches"
254257
255258
--- tools/cvs2fossil/lib/c2f_pfiltersym.tcl
+++ tools/cvs2fossil/lib/c2f_pfiltersym.tcl
@@ -243,12 +243,15 @@
243 FROM branch B, symbol S
244 WHERE B.sid = S.sid
245 AND S.type = $tag
246 }]
247
248 log write 4 filtersym "Changing [nsp [expr {[llength $tagstomutate]/5}] tag] into branches"
249 log write 4 filtersym "Changing [nsp [expr {[llength $branchestomutate]/7}] branch branches] into tags"
 
 
 
250
251 # # ## ### ##### ######## #############
252
253 log write 3 filtersym "Mutate tags to branches"
254
255
--- tools/cvs2fossil/lib/c2f_pfiltersym.tcl
+++ tools/cvs2fossil/lib/c2f_pfiltersym.tcl
@@ -243,12 +243,15 @@
243 FROM branch B, symbol S
244 WHERE B.sid = S.sid
245 AND S.type = $tag
246 }]
247
248 set nt [expr {[llength $tagstomutate]/5}]
249 set nb [expr {[llength $branchestomutate]/7}]
250
251 log write 4 filtersym "Changing [nsp $nt tag] into [nsp $nt branch branches]"
252 log write 4 filtersym "Changing [nsp $nb branch branches] into [nsp $nb tag]"
253
254 # # ## ### ##### ######## #############
255
256 log write 3 filtersym "Mutate tags to branches"
257
258

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button