Differences From:
File
tools/cvs2fossil/lib/c2f_pbreakacycle.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]
To:
File
tools/cvs2fossil/lib/c2f_pbreakacycle.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]
@@ -59,9 +59,9 @@
# Pass manager interface. Executed to perform the
# functionality of the pass.
set changesets [project::rev all]
- cyclebreaker dot break-all-start $changesets
+ #cyclebreaker dot break-all-start $changesets
return
}
@@ -73,8 +73,10 @@
}
# # ## ### ##### ######## #############
## Internal methods
+
+ proc Changesets {} { project::rev all }
# # ## ### ##### ######## #############
## Configuration