Differences From:
File
tools/cvs2fossil/lib/c2f_state.tcl
part of check-in
[ae19c0fcb4]
- Extended pass manager to handle the skipped and defered passes coming before and after the actually executed passes. Extended passes I and II to have the required methods. Implemented loading (for skipped passes) as skeletons, implemented discarding (for defered passes) completely. Extended state manager with ability to discard state.
by
aku on
2007-10-13 23:29:17.
[view]
To:
File
tools/cvs2fossil/lib/c2f_state.tcl
part of check-in
[38b967dcf5]
- Merge aku's CVS import changes into the main line. Fix a small bug in diff.c.
by
drh on
2007-11-17 00:29:42.
Also file
tools/cvs2fossil/lib/c2f_state.tcl
part of check-in
[96b7bfb834]
- Added convenience command to the state package when the sql returns a single row. Added more statistics about revisions, tags, branches, symbols, changesets to various passes.
by
aku on
2007-11-16 08:32:40.
[view]
@@ -144,8 +144,12 @@
}
typemethod run {args} {
return [uplevel 1 [linsert $args 0 $mystate eval]]
+ }
+
+ typemethod one {args} {
+ return [lindex [uplevel 1 [linsert $args 0 $mystate eval]] 0]
}
typemethod transaction {script} {
return [uplevel 1 [list $mystate transaction $script]]