Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_repository.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_repository.tcl part of check-in [3bde1a2e2f] - Added new option --trunk-only, state and processing. by aku on 2007-10-17 03:09:58. [view]

@@ -50,8 +50,11 @@
 	lappend myprojpaths $path
 	return
     }
 
+    typemethod trunkonly! {} { set mytrunkonly 1 ; return }
+    typemethod trunkonly  {} { return $mytrunkonly }
+
     typemethod projects {} {
 	return [TheProjects]
     }
 
@@ -221,8 +224,12 @@
 				      # project and name to their
 				      # id. This information is not
 				      # saved directly.
     typevariable mysymbolcnt     0  ; # Counter for symbol ids.
+
+    typevariable mytrunkonly     0  ; # Boolean flag. Set by option
+				      # processing when the user
+				      # requested a trunk-only import
 
     # # ## ### ##### ######## #############
     ## Internal methods