Check-in [ce7fb48e8c]
Not logged in
Overview

SHA1 Hash:ce7fb48e8c175ce642955912f2b69b7c72cd2ef0
Date: 2007-11-16 06:55:58
User: aku
Comment:Moved out-of-place state declarations to the proper phase (setup, not run).
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified tools/cvs2fossil/lib/c2f_pbreakrcycle.tcl from [7f124d81b4] to [95b71ab788].

@@ -43,10 +43,14 @@
 
     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,
 	    UNIQUE (cid),
@@ -66,14 +70,10 @@
     }
 
     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]] \
 		[myproc SaveOrder]

Modified tools/cvs2fossil/lib/c2f_pbreakscycle.tcl from [97101fbb9b] to [0e581d0498].

@@ -41,10 +41,14 @@
     ## Public API
 
     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 {} {
 	# Pass manager interface. Executed to load data computed by
@@ -54,14 +58,10 @@
     }
 
     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]]
 	}