Diff
Not logged in

Differences From:

File tools/cvs2fossil/lib/c2f_project.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_project.tcl part of check-in [ec053168a8] - Nicer parser integration into pass II, and sort files for easier filesystem traversal during parsing. by aku on 2007-10-06 20:58:24. [view]

@@ -44,15 +44,15 @@
 	return
     }
 
     method filenames {} {
-	return [array names myfiles]
+	return [lsort -dict [array names myfiles]]
     }
 
     method files {} {
 	# TODO: Loading from state
 	set res {}
-	foreach f [array names myfiles] {
+	foreach f [lsort -dict [array names myfiles]] {
 	    lappend res [file %AUTO% $f $self]
 	}
 	return $res
     }