Differences From:
File
tools/cvs2fossil/lib/c2f_pbreakscycle.tcl
part of check-in
[ce7fb48e8c]
- Moved out-of-place state declarations to the proper phase (setup, not run).
by
aku on
2007-11-16 06:55:58.
[view]
To:
File
tools/cvs2fossil/lib/c2f_pbreakscycle.tcl
part of check-in
[38b967dcf5]
- Merge aku's CVS import changes into the main line. Fix a small bug in diff.c.
by
drh on
2007-11-17 00:29:42.
Also file
tools/cvs2fossil/lib/c2f_pbreakscycle.tcl
part of check-in
[96b7bfb834]
- Added convenience command to the state package when the sql returns a single row. Added more statistics about revisions, tags, branches, symbols, changesets to various passes.
by
aku on
2007-11-16 08:32:40.
[view]
@@ -21,8 +21,9 @@
package require Tcl 8.4 ; # Required runtime.
package require snit ; # OO system.
package require struct::list ; # Higher order list operations.
package require vc::fossil::import::cvs::cyclebreaker ; # Breaking dependency cycles.
+package require vc::fossil::import::cvs::repository ; # Repository management.
package require vc::fossil::import::cvs::state ; # State storage.
package require vc::fossil::import::cvs::project::rev ; # Project level changesets
# # ## ### ##### ######## ############# #####################
@@ -64,8 +65,10 @@
state transaction {
cyclebreaker run [struct::list filter [project::rev all] \
[myproc IsBySymbol]]
}
+
+ repository printcsetstatistics
return
}
typemethod discard {} {
@@ -93,8 +96,9 @@
namespace eval ::vc::fossil::import::cvs::pass {
namespace export breakscycle
namespace eval breakscycle {
namespace import ::vc::fossil::import::cvs::cyclebreaker
+ namespace import ::vc::fossil::import::cvs::repository
namespace import ::vc::fossil::import::cvs::state
namespace eval project {
namespace import ::vc::fossil::import::cvs::project::rev
}