Overview
SHA1 Hash: | 330f2da791611680e4153ee5521149e945615518 |
---|---|
Date: | 2007-09-20 07:08:40 |
User: | aku |
Comment: | Moved the counting of imported changesets to the beginning for a more accurate percent calculation and proper ending at 100%. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified tools/lib/import_statistics.tcl from [aa215e83ab] to [afdce6cc23].
@@ -48,20 +48,21 @@ variable max_format variable run_format variable total_running variable total_csets + incr total_running + write 0 stats "ChangeSet [format $max_format $cset] @ [format $run_format $total_running]/$total_csets ([F6 [expr {$total_running*100.0/$total_csets}]]%)" return } proc ::vc::fossil::import::stats::csend {seconds} { variable total_csets variable total_seconds variable total_running - incr total_running set total_seconds [expr {$total_seconds + $seconds}] set avg [Avg] set end [expr {$total_csets * $avg}] set rem [expr {$end - $total_seconds}]