Differences From:
File
tools/cvs2fossil/lib/c2f_pcollrev.tcl
part of check-in
[67c24820c7]
- Reworked the whole handling of meta data (author, commit message, plus project/branch information), so that revisions now store only the meta id, everything else is stored centrally. All the relevant pieces (author, cmessage, symbols, projects) now also get numeric ids assigned early instead of when being saved to the state. Project ids are loaded from the state now too.
by
aku on
2007-10-14 01:58:07.
[view]
To:
File
tools/cvs2fossil/lib/c2f_pcollrev.tcl
part of check-in
[3a00ac5aa2]
- Due to quickly building memory pressure for large cvs repositories (thousands of revisions and symbol object) we have to save the pertinent information of a file immediately after it has been processed and then clear the memory. Inserted the basic skeleton for this into pass and file objects.
by
aku on
2007-10-23 02:29:55.
[view]
@@ -209,8 +209,19 @@
global errorInfo
trouble internal $errorInfo
}
}
+
+ # We persist the core of the data collected about each
+ # file immediately after it has been parsed and
+ # wrangled into shape, and then drop it from
+ # memory. This is done to keep the memory requirements
+ # within limits, i.e. without doing it this way it is
+ # easy to blow 1G of RAM with all the objects
+ # (revisions and file-level symbols).
+
+ $file persist
+ $file drop
}
}
repository printrevstatistics