Differences From:
File
tools/cvs2fossil/lib/c2f_pcollrev.tcl
part of check-in
[be891232a2]
- Extended rcs parser to tag errors which are syntax errors in the RCS archive. Extended pass handling to capture trouble and distinguish between internal problems and syntax errors.
by
aku on
2007-10-12 05:57:53.
[view]
To:
File
tools/cvs2fossil/lib/c2f_pcollrev.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]
@@ -182,9 +182,17 @@
return
}
+ typemethod load {} {
+ # TODO
+ return
+ }
+
typemethod run {} {
+ # Pass manager interface. Executed to perform the
+ # functionality of the pass.
+
set rbase [repository base?]
foreach project [repository projects] {
set base [file join $rbase [$project base]]
log write 1 collrev "Processing $base"
@@ -209,8 +217,27 @@
repository printrevstatistics
repository persistrev
log write 1 collrev "Scan completed"
+ return
+ }
+
+ typemethod discard {} {
+ # Pass manager interface. Executed for all passes after the
+ # run passes, to remove all data of this pass from the state,
+ # as being out of date.
+
+ state discard rcs
+ state discard item
+ state discard revision
+ state discard tag
+ state discard branch
+ state discard symbol
+ state discard blocker
+ state discard parent
+ state discard meta
+ state discard author
+ state discard cmessage
return
}
# # ## ### ##### ######## #############