File History

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of tools/cvs2fossil/lib/c2f_patopsort.tcl

Fix comment typo, and add comment about possible simplification. file: [32dd51eb] check-in: [83ecb5b9] user: aku branch: trunk, size: 6557
Get the line of development for changesets directly from the items and their lod references. The in-memory data from the meta table is out-of-date since the adjustment of parents in pass 'FilterSymbols'. Print the LOD information when sorting the changesets. file: [df888ac8] check-in: [0d13da30] user: aku branch: trunk, size: 6513
Changes to cvs2fossil to import tcllib CVS into fossil on Win32    * using [::file] instead of [file] in snit methods to get the core file command * taking care of files that only differ in case in the Attic and the repo on case insensitive FS * passing platform specific file: [24672c70] check-in: [7208c7ac] user: mjanssen branch: trunk, size: 6498
Fluff: Renamed state methods use/reading/writing to usedb/use/extend for clarity. Updated all callers. Extended state module with code to dump the SQL statements it receives to a file for analysis. Extended the 'use' declarations of several passes. file: [bd89b94e] check-in: [e288af39] user: aku branch: trunk, size: 6497
The performance was still not satisfying, even with faster recomputing of successors. Doing it multiple times (Building the graph in each breaker and sort passes) eats time. Caching in memory blows the memory. Chosen solution: Cache this information in the database.    Created a new pass 'CsetDeps' which is run between 'InitCsets' and 'BreakRevCsetCycles' (i.e. changeset creation and first breaker pass). It computes the changeset dependencies from the file-level dependencies once and saves the result in the state, in the new table 'cssuccessor'. Now the breaker and sort passes can get the information quickly, with virtually no effort. The dependencies are recomputed incrementally when a changeset is split by one of the breaker passes, for its fragments and its predecessors.    The loop check is now trivial, and integrated into the successor computation, with the heavy lifting for the detailed analysis and reporting moved down into the type-dependent SQL queries. The relevant new method is 'loops'. Now that the loop check is incremental the pass based checks have been removed from the integrity module, and the option '--loopcheck' has been eliminated. For paranoia the graph setup and modification code got its loop check reinstated as an assert, redusing the changeset report code.    Renumbered the breaker and sort passes. A number of places, like graph setup and traversal, loading of changesets, etc. got feedback indicators to show their progress.    The selection of revision and symbol changesets for the associated breaker passes was a bit on the slow side. We now keep changeset lists sorted by type (during loading or general construction) and access them directly. file: [bd713af4] check-in: [00bf8c19] user: aku branch: trunk, size: 6418
Added mising state declarations. file: [271b9b7e] check-in: [31d0fe7d] user: aku branch: trunk, size: 6417
Updated to extended changeset string, and added tabular formatting. Further tweaked output, putting timestamp adjust messages on the same line as the changeset itself. file: [4f410cc1] check-in: [1c39e576] user: aku branch: trunk, size: 6368
Code cleanup. Removed trailing whitespace across the board. file: [65fa2770] check-in: [b679ca33] user: aku branch: trunk, size: 5949
Fixed log output for pass 10, and added missing command. file: [77156b1a] check-in: [63052cb6] user: aku branch: trunk, size: 5951
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. file: [76cc206f] check-in: [66c85b4d] user: aku branch: trunk, size: 5904 Added