Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_prev.tcl part of check-in [e50f9ed55e] - Continued work on pass 8. Completed the handling of backward branches, file level analysis and splitting them. Extended changesets with the necessary methods to the predecessor data and proper per-revision maps. by aku on 2007-11-22 04:21:37. [view]

To:

File tools/cvs2fossil/lib/c2f_prev.tcl part of check-in [47e271a448] - Fixed bug in the initialization of mybranchcode for changesets. by aku on 2007-11-22 04:56:39. [view]

@@ -674,13 +674,8 @@
     typemethod all   {}   { return $mychangesets }
     typemethod of    {id} { return $myidmap($id) }
     typemethod ofrev {id} { return $myrevmap($id) }
 
-    typeconstructor {
-	set mybranchcode [project::sym branch]
-	return
-    }
-
     # # ## ### ##### ######## #############
     ## Configuration
 
     pragma -hastypeinfo    no  ; # no type introspection
@@ -696,8 +691,9 @@
 	namespace import ::vc::fossil::import::cvs::state
 	namespace eval project {
 	    namespace import ::vc::fossil::import::cvs::project::sym
 	}
+	::variable mybranchcode [project::sym branch]
 	namespace import ::vc::tools::misc::*
 	namespace import ::vc::tools::trouble
 	namespace import ::vc::tools::log
 	log register csets