Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_frev.tcl part of check-in [2c08006d9d] - Changed the coding of trunk symbols. Using NULL makes for difficult comparisons later when doing integrity checks. Each trunk now has a regular unique id as a symbol. Added documentation to the table definitions, about references, constraints, etc. by aku on 2007-10-25 05:13:41. [view]

To:

File tools/cvs2fossil/lib/c2f_frev.tcl part of check-in [7ab490df24] - Extended pass 2, save branch positions, needed for pass 4, and added optype table to have the revision opcodes available in the state as well. by aku on 2007-11-07 06:19:13. [view]

@@ -177,9 +177,11 @@
 	return
     }
 
     method sortbranches {} {
-	if {![llength $mybranches]} return
+	# Pass 2: CollectRev
+
+	if {[llength $mybranches] < 2} return
 
 	# Sort the branches spawned by this revision in creation
 	# order. To help in this our file gave all branches a position
 	# id, in order of their definition by the RCS archive.
@@ -481,8 +483,9 @@
 	{0 1} delete
 	{1 0} add
 	{1 1} nothing
     }
+    # Keep myopcode in sync with project::collrev.optype
     typevariable myopcode -array {
 	change   2
 	delete  -1
 	add      1