Differences From:
File
tools/cvs2fossil/lib/c2f_patopsort.tcl
part of check-in
[66c85b4db4]
- Investigation of changeset order differences between running passes 1 to 6 and pass 6 alone show why the topological sort passes are separate in cvs2svn. The breaking of cycles can change the order of things due to different timeranges and dependencies of the broken changesets. Created two new passes for the sorting. The break passes 7 and 8 are now passes 8 and 9, and the new sort passes are 7 and 10.
by
aku on
2007-11-25 02:59:21.
[view]
To:
File
tools/cvs2fossil/lib/c2f_patopsort.tcl
part of check-in
[63052cb60a]
- Fixed log output for pass 10, and added missing command.
by
aku on
2007-11-25 07:37:04.
[view]
@@ -76,9 +76,9 @@
cyclebreaker savecmd [myproc SaveTimestamps]
state transaction {
LoadSymbolChangesets
- cyclebreaker run break-all [myproc Changesets]
+ cyclebreaker run tsort-all [myproc Changesets]
}
return
}
@@ -99,8 +99,10 @@
proc LoadSymbolChangesets {} {
set mysymchangesets [struct::list filter [project::rev all] [myproc IsBySymbol]]
return
}
+
+ proc IsBySymbol {cset} { $cset bysymbol }
proc SaveTimestamps {graph at cset} {
set cid [$cset id]