Differences From:
File
tools/cvs2fossil/lib/c2f_pbreakrcycle.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_pbreakrcycle.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]
@@ -44,8 +44,12 @@
typemethod setup {} {
# Define the names and structure of the persistent state of
# this pass.
+ state reading revision
+ state reading changeset
+ state reading csrevision
+
state writing csorder {
-- Commit order of changesets based on their dependencies
cid INTEGER NOT NULL REFERENCES changeset,
pos INTEGER NOT NULL,
@@ -67,12 +71,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 IsByRevision]] \