Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_pcollsym.tcl part of check-in [74854a30b8] - Added ability to declare indices on tables in the persistent state. Used this to declare indices on critical columns. Slows down the transactions saving changesets, this however is made up when it comes to successor/predecessor retrieval of changesets. by aku on 2007-12-02 03:40:56. [view]

To:

File tools/cvs2fossil/lib/c2f_pcollsym.tcl part of check-in [e288af3995] - Fluff: Renamed state methods use/reading/writing to usedb/use/extend for clarity. Updated all callers. Extended state module with code to dump the SQL statements it receives to a file for analysis. Extended the 'use' declarations of several passes. by aku on 2007-12-02 23:47:45. [view]

@@ -44,13 +44,15 @@
     typemethod setup {} {
 	# Define names and structure of the persistent state of this
 	# pass.
 
-	state reading symbol
-	state reading blocker
-	state reading parent
-
-	state writing preferedparent {
+	state use project
+	state use symbol
+	state use symtype
+	state use blocker
+	state use parent
+
+	state extend preferedparent {
 	    -- For each symbol the prefered parent. This describes the
 	    -- tree of the found lines of development. Actually a
 	    -- forest in case of multiple projects, with one tree per
 	    -- project.