Differences From:
File
tools/cvs2fossil/lib/c2f_prev.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]
To:
File
tools/cvs2fossil/lib/c2f_prev.tcl
part of check-in
[8dd5afbc80]
- Updated method 'drop' of changesets, the in-memory parts have migrated to 'destroy' as part of the work on pass InitCSets.
by
aku on
2008-02-26 04:53:56.
[view]
@@ -214,16 +214,8 @@
DELETE FROM csitem WHERE cid = $myid;
DELETE FROM cssuccessor WHERE cid = $myid;
}
}
-
- UnmapItems $mytype $myitems
- unset myidmap($myid)
-
- set pos [lsearch -exact $mychangesets $self]
- set mychangesets [lreplace $mychangesets $pos $pos]
- set pos [lsearch -exact $mytchangesets($mytype) $self]
- set mytchangesets($mytype) [lreplace $mytchangesets($mytype) $pos $pos]
# Return the list of predecessors so that they can be adjusted.
return [struct::list map [state run {
SELECT cid