Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_state.tcl part of check-in [fb1e36d290] - Extended state handling with methods to declare usage and structure of state, started integration of state with pass I, collection of projects and files. by aku on 2007-10-05 06:50:57. [view]

To:

File tools/cvs2fossil/lib/c2f_state.tcl part of check-in [042d54bae5] - Completed integration of state with pass I, now saving projects and files into it. by aku on 2007-10-05 07:27:52. [view]

@@ -128,8 +128,16 @@
     }
 
     typemethod run {args} {
 	return [uplevel 1 [linsert $args 0 $mystate eval]]
+    }
+
+    typemethod transaction {script} {
+	return [uplevel 1 [list $mystate transaction $script]]
+    }
+
+    typemethod id {} {
+	return [$mystate last_insert_rowid]
     }
 
     # # ## ### ##### ######## #############
     ## State