Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_pbreakacycle.tcl part of check-in [229050721f] - Fixed log progress use in last breaker pass. Disabled the check regarding revision order. It still triggers and I can't see anything wrong. Pressing forward for now, i.e. get the remaining passes done, then revisit this issue. by aku on 2007-12-05 02:24:25. [view]

To:

File tools/cvs2fossil/lib/c2f_pbreakacycle.tcl part of check-in [f637d42206] - Updated my notes regarding memory usage. Converted more locations to incremental query processing via 'state foreachrow', now throughout the importer. by aku on 2008-02-24 18:01:40. [view]

@@ -112,9 +112,11 @@
 	log write 2 breakacycle {Loading revision commit order}
 
 	set n 0
 	state transaction {
-	    foreach {cid pos} [state run { SELECT cid, pos FROM csorder }] {
+	    state foreachrow {
+		SELECT cid, pos FROM csorder
+	    } {
 		log progress 2 breakacycle $n {}
 		set cset [project::rev of $cid]
 		$cset setpos $pos
 		set mycset($pos) $cset