File History
Not logged in

History of tools/cvs2fossil/lib/c2f_integrity.tcl

2008-02-23
07:12:09 [cd21bd4aef] part of check-in [7c6df76554] Tweaked integrity output lightly. (By: aku on 2008-02-23 07:12:09) [diff] [annotate]
2008-02-08
21:52:21 [cc4461a50b] part of check-in [6b78df3861] Merge in changes from Andreas's branch. (By: drh on 2008-02-08 21:52:21) [diff] [annotate]
2008-02-06
05:04:12 [cc4461a50b] part of check-in [66235f2430] Updated the copyright information of all files touched in the new year. (By: aku on 2008-02-06 05:04:12) [diff] [annotate]
2008-01-27
20:38:17 [ec6d87872c] part of check-in [727f370c29] Added comments to the sql commands in the integrity checks. (By: aku on 2008-01-27 20:38:17) [diff] [annotate]
2007-12-05
02:22:52 [565865cf88] part of check-in [c4003e7b93] The handling of detached lines of development (floating branches) still had some bugs regarding the linkage to their revisions, especially the first revision on such branches. Fixed the relevant places, added early integrity checks and updated the main checks to handle the situation. (By: aku on 2007-12-05 02:22:52) [diff] [annotate]
2007-12-02
20:04:40 [3028615e2a] part of check-in [00bf8c198e] 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. (By: aku on 2007-12-02 20:04:40) [diff] [annotate]
06:57:56 [3a6b91462b] part of check-in [fd93aa26a6] Finally committing another disabled integrity constraint for changesets, explanations in the comments. (By: aku on 2007-12-02 06:57:56) [diff] [annotate]
03:42:27 [2d6c3c60fc] part of check-in [0a97ad385a] Fixed typo. Grr. (By: aku on 2007-12-02 03:42:27) [diff] [annotate]
2007-11-30
15:20:40 [bd6c4a1382] part of check-in [3db03be62f] Fixed typo of keyword. (By: aku on 2007-11-30 15:20:40) [diff] [annotate]
06:57:19 [59163ec67c] part of check-in [0af7a3c8ac] Easier name for self-referential changesets, loopcheck. Made conditional on option --loopcheck, default off, and avoided if the general checks on changesets report trouble. Reinstated the loop check in the cycle breaker core in simpler form, reusing the new command in the changeset class. (By: aku on 2007-11-30 06:57:19) [diff] [annotate]
03:57:19 [ea08d30250] part of check-in [b42cff97e3] Replaced the checks for self-referential changesets in the cycle breaker with a scheme in the changeset class doing checks when splitting a changeset, which is also called by the general changeset integrity code, after each pass. Extended log output at high verbosity levels. Thorough checking of the fragments a changeset is to be split into. (By: aku on 2007-11-30 03:57:19) [diff] [annotate]
2007-11-29
09:16:33 [6d1e02083a] part of check-in [80b1e8936f] Renamed state table 'csrevision' to 'csitem' to reflect the new internals of changesets. Updated all places where it is used. (By: aku on 2007-11-29 09:16:33) [diff] [annotate]
06:47:18 [72056a8796] part of check-in [4b15fa348d] Added equivalent checks for the tag and branch based changesets. (By: aku on 2007-11-29 06:47:18) [diff] [annotate]
06:40:19 [6b8e82544d] part of check-in [de10b2301e] Shuffled and updated the existing checks of revision changesets. (By: aku on 2007-11-29 06:40:19) [diff] [annotate]
06:31:08 [0fe3d374ff] part of check-in [7c28fe1312] Started to adapt the integrity module. Renamed Check to CheckRev, and added analoguous commands for Tags and Branches. Added placeholders for the new integrity commands, updated main changeset integrity command. (By: aku on 2007-11-29 06:31:08) [diff] [annotate]
2007-11-28
05:39:49 [ef24788cd7] part of check-in [47d52d1efd] Added convenience method for assertions and used it in place of the existing if/trouble internal constructions. Changed API of 'log write' so that we can defer substituation of the message to when the write actually happen, and converted all places which would be hit by double-substitution. The remaining 'log write' calls will be converted incrementally. (By: aku on 2007-11-28 05:39:49) [diff] [annotate]
2007-11-27
04:26:56 [19b5dfccf5] part of check-in [8c6488ded2] Continued work on the integrity checks for changesets. Moved callers out of transactions. Two checks are already tripping on bad changesets made by InitCSets (pass 5). (By: aku on 2007-11-27 04:26:56) [diff] [annotate]
02:37:51 [69cecd83d4] part of check-in [bf83201c7f] Outline for more integrity checks, focusing on the changesets. (By: aku on 2007-11-27 02:37:51) [diff] [annotate]
2007-11-25
07:54:09 [eed39e28b9] part of check-in [b679ca3356] Code cleanup. Removed trailing whitespace across the board. (By: aku on 2007-11-25 07:54:09) [diff] [annotate]
2007-11-17
00:29:42 [f5cf3c5637] part of check-in [38b967dcf5] Merge aku's CVS import changes into the main line. Fix a small bug in diff.c. (By: drh on 2007-11-17 00:29:42) [annotate]
2007-11-09
06:28:19 [f5cf3c5637] part of check-in [131f051880] Moved the paranoid integrity checks of pass 2 into a separate package for use by other passes, and changed pass 4 to also run these checks, albeit in a (slightly) relaxed form. See the comments at the point of call for the reason. This completes pass 4. (By: aku on 2007-11-09 06:28:19) [annotate]