Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_file.tcl part of check-in [8a93ffa9c1] - Fleshed out pass II, added skeleton of rcs archive class, started integration of rcs parser. by aku on 2007-10-06 18:43:01. [view]

To:

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]

@@ -32,8 +32,33 @@
 	return
     }
 
     method path {} { return $mypath }
+
+    # # ## ### ##### ######## #############
+    ## 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 admindone {} {}
+    method def {rev date author state next branches} {}
+    method setdesc {d} {}
+    method extend {rev commitmsg deltarange} {}
+    method done {} {}
+
+    #method begin {} {puts begin}
+    #method sethead {h} {puts head=$h}
+    #method setprincipalbranch {b} {puts pb=$b}
+    #method setsymbols {dict} {puts symbols=$dict}
+    #method setcomment {c} {puts comment=$c}
+    #method admindone {} {puts admindone}
+    #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}
 
     # # ## ### ##### ######## #############
     ## State