Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/cvs2fossil.tcl part of check-in [2a98ac44bd] - Third attempt at getting a cvs importer which can handle branches. Using cvs2svn code and design notes as a guide. by aku on 2007-10-02 03:05:43. [view]

To:

File tools/cvs2fossil/lib/cvs2fossil.tcl part of check-in [591151532206c] - Added the pass management, integrated with application and option processor. by aku on 2007-10-02 06:48:55. [view]

@@ -18,8 +18,9 @@
 
 package require Tcl 8.4                         ; # Required runtime.
 package require snit                            ; # OO system
 package require vc::fossil::import::cvs::option ; # Cmd line parsing & database
+package require vc::fossil::import::cvs::pass   ; # Pass management
 
 # # ## ### ##### ######## ############# #####################
 ##
 
@@ -27,19 +28,15 @@
     # # ## ### ##### ######## #############
     ## Public API, Methods
 
     typemethod run {arguments} {
-	option process $arguments
-
 	# Run a series of passes over the cvs repository to extract,
 	# filter, and order its historical information. Which passes
 	# are actually run is determined through the specified options
 	# and their defaults.
 
-	foreach pass [option passes] {
-	    $pass run
-	}
-
+	option process $arguments
+	pass run
 	return
     }
 
     # # ## ### ##### ######## #############