Differences From:
File
tools/cvs2fossil/lib/c2f_file.tcl
part of check-in
[2e3815c3b4]
- Added skeleton and dump methods to make file objects proper sinks for the rcs parser.
by
aku on
2007-10-06 21:01:15.
[view]
To:
File
tools/cvs2fossil/lib/c2f_file.tcl
part of check-in
[6d1811d61e]
- Continued work on pass II, skeleton of it completed by adding outline of code for persistence.
by
aku on
2007-10-06 21:19:26.
[view]
@@ -36,18 +36,21 @@
# # ## ### ##### ######## #############
## Methods required for the class to be a sink of the rcs parser
- method begin {} {}
- method sethead {h} {}
- method setprincipalbranch {b} {}
- method setsymbols {dict} {}
- method setcomment {c} {}
+ method begin {} {}
+ method done {} {}
method admindone {} {}
- method def {rev date author state next branches} {}
- method setdesc {d} {}
- method extend {rev commitmsg deltarange} {}
- method done {} {}
+
+ method sethead {h} {}
+ method setprincipalbranch {b} {}
+
+ method setsymbols {dict} {}
+ method setcomment {c} {}
+ method setdesc {d} {}
+
+ method def {rev date author state next branches} {}
+ method extend {rev commitmsg deltarange} {}
#method begin {} {puts begin}
#method sethead {h} {puts head=$h}
#method setprincipalbranch {b} {puts pb=$b}
@@ -57,8 +60,15 @@
#method def {rev date author state next branches} {puts "def $rev $date $author $state $next $branches"}
#method setdesc {d} {puts desc=$d}
#method extend {rev commitmsg deltarange} {puts "extend $commitmsg $deltarange"}
#method done {} {puts done}
+
+
+ # # ## ### ##### ######## #############
+ ## Persistence (pass II)
+
+ method persist {} {
+ }
# # ## ### ##### ######## #############
## State