Differences From:
File
tools/cvs2fossil/lib/c2f_pbreakscycle.tcl
part of check-in
[770a9b576a]
- Completed pass 7, breaking dependency cycles over symbol changesets. Moved the bulk of the cycle breaker code into its own class as it was common to the passes 6 and 7, and updated the two passes accordingly. Added code to load the changeset counter from the state to start properly.
by
aku on
2007-11-16 04:17:30.
[view]
To:
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]
@@ -42,8 +42,12 @@
typemethod setup {} {
# Define the names and structure of the persistent state of
# this pass.
+
+ state reading revision
+ state reading changeset
+ state reading csrevision
return
}
typemethod load {} {
@@ -55,12 +59,8 @@
typemethod run {} {
# Pass manager interface. Executed to perform the
# functionality of the pass.
-
- state reading revision
- state reading changeset
- state reading csrevision
state transaction {
cyclebreaker run [struct::list filter [project::rev all] \
[myproc IsBySymbol]]