Diff
Not logged in

Differences From:

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]

To:

File tools/cvs2fossil/lib/c2f_pbreakscycle.tcl part of check-in [7f15be9078] - Added the ability to export the changeset graphs processed by the passes 6 to 8 using GraphViz's dot-format. This is activated by using the switch '--dots'. Bugfixes in the cycle breaker. First corrected variable names, I forgot to use the standard 'myXXX' format for the typevariables. Second, fixed a bug uncovered by looking at the exported graphs, which caused the system to loose arcs, possibly breaking cycles without actually breaking them, leaving them in the dependencies. by aku on 2007-11-20 06:59:03. [view]

@@ -61,12 +61,17 @@
     typemethod run {} {
 	# Pass manager interface. Executed to perform the
 	# functionality of the pass.
 
+	set changesets [struct::list filter [project::rev all] [myproc IsBySymbol]]
+	cyclebreaker dot break-sym-start $changesets
+
 	state transaction {
-	    cyclebreaker run [struct::list filter [project::rev all] \
-				  [myproc IsBySymbol]]
+	    cyclebreaker run break-sym $changesets
 	}
+
+	set changesets [struct::list filter [project::rev all] [myproc IsBySymbol]]
+	cyclebreaker dot break-sym-done $changesets
 
 	repository printcsetstatistics
 	return
     }