Check-in [487bb1c619]
Not logged in
Overview

SHA1 Hash:487bb1c619f020acaa77ad1a58f31b8e564fc3fe
Date: 2007-12-02 06:18:42
User: aku
Comment:Modified loop check in cycle breaker to abort immediately on first looped changeset.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified tools/cvs2fossil/lib/c2f_cyclebreaker.tcl from [c1b1baf75a] to [6e157515ed].

@@ -207,11 +207,11 @@
 		# chosen set. These are ignored
 		if {![$dg node exists $succ]} continue
 		$dg arc insert $cset $succ
 		if {$succ eq $cset} {
 		    $cset loopcheck
-		    trouble fatal "[$cset str] depends on itself"
+		    trouble internal "[$cset str] depends on itself"
 		}
 	    }
 	    incr n
 	}
 
@@ -431,11 +431,11 @@
 		# the chosen set. These are ignored
 		if {![$dg node exists $succ]} continue
 		$dg arc insert $cset $succ
 		if {$succ eq $cset} {
 		    $cset loopcheck
-		    trouble fatal "[$cset str] depends on itself"
+		    trouble internal "[$cset str] depends on itself"
 		}
 	    }
 	}
 	foreach cset $pre {
 	    foreach succ [$cset successors] {