Differences From:
File
tools/cvs2fossil/lib/c2f_repository.tcl
part of check-in
[8e3012423b]
- Updated the code printing the changeset statistics to know about change to the changeset types.
by
aku on
2007-11-29 06:23:30.
[view]
To:
File
tools/cvs2fossil/lib/c2f_repository.tcl
part of check-in
[6809145eb1]
- More comments on sql statements.
by
aku on
2008-01-19 06:07:49.
[view]
@@ -280,9 +280,9 @@
typemethod printcsetstatistics {} {
log write 2 repository "Changeset statistics"
# number of revisions, symbols, repository wide, and per project ...
- set ccount [state one { SELECT COUNT (*) FROM changeset }]
+ set ccount [state one { SELECT COUNT (*) FROM changeset }]
set rcount [state one { SELECT COUNT (*) FROM changeset WHERE type = 0 }]
set tcount [state one { SELECT COUNT (*) FROM changeset WHERE type = 1 }]
set bcount [state one { SELECT COUNT (*) FROM changeset WHERE type = 2 }]
set fmt %[string length [max [list $ccount $rcount $tcount $bcount]]]s