Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl part of check-in [2cf0462b82] - Cycle breaker, API change. Routing the core cycle breaking through a callback so that users can choose their own algorithms. Updated passes 6 and 7. Moven changesets selection in pass 7 to separate command. by aku on 2007-11-21 04:05:53. [view]

To:

File tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl part of check-in [2a0ec504c5] - Cycle breaker, API change. The changesets are now communicated via a retrieval callback instead of directly. Updated passes 6 and 7. This allowed us to move the start/done graph exports into the cyclebreaker as well. Changeset selection in pass 8 now in separate command too for this. by aku on 2007-11-21 04:36:13. [view]

@@ -73,19 +73,14 @@
     typemethod run {} {
 	# Pass manager interface. Executed to perform the
 	# functionality of the pass.
 
-	set changesets [Changesets]
-	cyclebreaker dot break-rev-start $changesets
-
 	cyclebreaker savecmd  [myproc SaveOrder]
 	cyclebreaker breakcmd {::vc::fossil::import::cvs::cyclebreaker break}
 
 	state transaction {
-	    cyclebreaker run break-rev $changesets
-	}
-
-	cyclebreaker dot break-rev-done [Changesets]
+	    cyclebreaker run break-rev [myproc Changesets]
+	}
 
 	repository printcsetstatistics
 	return
     }