Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_prev.tcl part of check-in [61829b076b] - Renamed changeset method to describe modified results, and updated the one invoker by aku on 2007-11-29 07:58:14. [view]

To:

File tools/cvs2fossil/lib/c2f_prev.tcl part of check-in [80b1e8936f] - Renamed state table 'csrevision' to 'csitem' to reflect the new internals of changesets. Updated all places where it is used. by aku on 2007-11-29 09:16:33. [view]

@@ -302,10 +302,10 @@
 	    }
 
 	    foreach iid $myitems {
 		state run {
-		    INSERT INTO csrevision (cid,   pos,  rid)
-		    VALUES                 ($myid, $pos, $iid);
+		    INSERT INTO csitem (cid,   pos,  iid)
+		    VALUES             ($myid, $pos, $iid);
 		}
 		incr pos
 	    }
 	}
@@ -316,10 +316,10 @@
 
     method drop {} {
 	state transaction {
 	    state run {
-		DELETE FROM changeset  WHERE cid = $myid;
-		DELETE FROM csrevision WHERE cid = $myid;
+		DELETE FROM changeset WHERE cid = $myid;
+		DELETE FROM csitem    WHERE cid = $myid;
 	    }
 	}
 	foreach iid $myitems {
 	    set key [list $mytype $iid]