Fossil

Timeline
Login

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

50 check-ins occurring around 2007-12-02 20:04:40.

2007-12-05
07:57
Created new pass for the import of files and changesets. Uses the new file method and fossil accessor class to handle the file import. Changeset -> manifest conversion is _not_ covered yet. check-in: d9fc75e587 user: aku tags: trunk
07:55
Extended file handling with main logic to import an archive into fossil. Main parts are determining the various orders for expansion and import, and expanding all revisions in an archive into full texts, iteratively applying the stored deltas. check-in: e100314ec2 user: aku tags: trunk
07:53
Integrated the new fossil management class with the option processor. New option --fossil to specify the fossil executable if it was not found in the PATH, or to overide the PATH. check-in: 1a20a81f33 user: aku tags: trunk
07:52
Added helper class managing access to fossil repositories. Already has a basic method to import and delta-compress a series of files. Used 'test' commands of fossil to get the necessary low-level access. check-in: b6bf21e2a8 user: aku tags: trunk
07:50
Put the graph traversal core of the cycle breaker core into a separate class, for use in other parts of the system. TODO: Rewrite the cycle breaker core in terms of this class. check-in: e701313733 user: aku tags: trunk
07:47
Extended project class with method return full path of the project, i.e. inclusive its repository base path. check-in: 82e35d3304 user: aku tags: trunk
02:29
Went to explicit var-substitution for the dynamic sql queries, makes formatting easier. check-in: 0ee9711e2e user: aku tags: trunk
02:25
Fixed typo, although it did not break anything. check-in: 5b2d15f183 user: aku tags: trunk
02:24
Fixed log progress use in last breaker pass. Disabled the check regarding revision order. It still triggers and I can't see anything wrong. Pressing forward for now, i.e. get the remaining passes done, then revisit this issue. check-in: 229050721f user: aku tags: trunk
02:22
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. check-in: c4003e7b93 user: aku tags: trunk
02:21
Removed lots of now dead code. Added a note to the last remaining user of the changeset method 'nextmap'. check-in: 3c0ef2c379 user: aku tags: trunk
2007-12-04
13:05
Generate CGI replies as separate header and body so that the header can be extended during the construction of the body. check-in: 6af8fdc230 user: drh tags: trunk
04:54
Reworked ComputeLimits in the last breaker pass. Moved the heavy computation of the max predecessor / min successor data down to the sql in the changeset class. check-in: 711e000206 user: aku tags: trunk
02:47
Add the timeline display preferences page with the ability to turn on and off block markup in timeline comments and to limit the length of timeline comments. check-in: ebb2765954 user: drh tags: trunk
01:55
Fix typos in the "concepts.html" document. check-in: ec1fbd7f68 user: drh tags: trunk
01:26
Fix the revert command so that it works from subdirectories. Other minor comment and help-text changes. check-in: 371dd6574c user: drh tags: trunk
2007-12-03
19:17
Send native deltas when cloning. The reduces bandwidth and reduces server load. check-in: 18fbb9c52d user: drh tags: trunk
19:08
Fix the delta computation on download so that it never tries to delta a file that has the same file as both its parent and its child. check-in: 16fbb59b96 user: drh tags: trunk
14:42
Detect delta loops and make at least one member of the loop a phantom. check-in: fb90abe5bd user: drh tags: trunk
00:27
Patch problems with timeline. Need to rethink the whole implementation. check-in: 20553a420c user: drh tags: trunk
2007-12-02
23:47
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. check-in: e288af3995 user: aku tags: trunk
23:45
Actually put the code for the new pass into the repository. check-in: 060513f2a9 user: aku tags: trunk
22:30
Addition to the default style sheet to cover the name/value pairs at the top of the vinfo page. Also a bugfix in the report.c code. check-in: dff17229ff user: drh tags: trunk
20:06
Importer Status... Speed. This is now mostly acceptable. The one exception is pass 'BreakAllCsetCycles'. The reason is that the limit computation it does for backward branches still uses the inefficient file-level dependency computation. This will be tackled in short order. For the other passes the file spent is 'CsetsDeps' is recouped by the much faster graph setup. Memory. This seems to be mostly acceptable as well, with the exceptions of 'BreakAllCsetCycles' (again, for reasons see above), and 'InitCsets'. It seems to happen while the pass breaks internal dependencies, but there is no hard data. I have to measure using a memory-debug enabled tclsh. I suspect either the actual internal dependencies, or the pseudo-dependencies. Maybe combined with a bad choice of data structures. Well, measuring first. check-in: e8c374f670 user: aku tags: trunk
20:04
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 p... check-in: 00bf8c198e user: aku tags: trunk
06:58
Added progress output to the breaking of backward branches. check-in: a437da486d user: aku tags: trunk
06:57
Finally committing another disabled integrity constraint for changesets, explanations in the comments. check-in: fd93aa26a6 user: aku tags: trunk
06:49
Bugfix. Typo. check-in: c784751485 user: aku tags: trunk
06:18
Modified loop check in cycle breaker to abort immediately on first looped changeset. check-in: 487bb1c619 user: aku tags: trunk
06:17
Fix table linkage in query, and duplicated conditions :( check-in: f7cca3f082 user: aku tags: trunk
05:49
Performance bugfix. nextmap/premap can still be performance killers and memory hogs. Moved the computation of sucessor changesets down to the type-dependent code (new methods) and the SQL database, i.e. the C level. In the current setup it was possible that the DB would deliver us millions of file-level dependency pairs which the Tcl level would then reduce to tens of actual changeset dependencies. Tcl did not cope well with that amount of data. Now the reduction happens in the query itself. A concrete example was a branch in the Tcl CVS generating nearly 9 million pairs, which reduced to roughly 200 changeset dependencies. This blew the memory out of the water and the converter ground to a halt, busily swapping. Ok, causes behind us, also added another index on 'csitem(iid)' to speed the search for changesets from the revisions, tags, and branches. check-in: 9c57055025 user: aku tags: trunk
04:55
Bugfix. Have the symbol dependency retrieval commands actually return something. check-in: 712010580a user: aku tags: trunk
03:49
Deactivated caching of the nextmap/premap data, with the indices the retrieval seems to be fast enough to allow us to reduce mem consumption. Tweaked log output, and sql formatting. check-in: ac02614803 user: aku tags: trunk
03:46
Bugfix in ValidateFragments, tweaked comment a bit, bugfix in SQL, reordered tables in the successor/predecessor queries a bit to show the actual progression of their use. check-in: fbfb531868 user: aku tags: trunk
03:42
Fixed typo. Grr. check-in: 0a97ad385a user: aku tags: trunk
03:41
Added progress output to the code loading up the graph to traverse, nodes, and arcs. check-in: 41d41c7b57 user: aku tags: trunk
03:40
Added ability to declare indices on tables in the persistent state. Used this to declare indices on critical columns. Slows down the transactions saving changesets, this however is made up when it comes to successor/predecessor retrieval of changesets. check-in: 74854a30b8 user: aku tags: trunk
2007-12-01
18:36
Bugfix. Handle free-floating branches (their root revision was removed as unnecessary). check-in: 79c227a9c0 user: aku tags: trunk
18:35
Helper updated to changes in state definition. check-in: 5bbc7d4c57 user: aku tags: trunk
2007-11-30
15:21
Updated helper app to changed state definition (csrevision -> csitem). check-in: fc635d5977 user: aku tags: trunk
15:20
Fixed typo of keyword. check-in: 3db03be62f user: aku tags: trunk
06:57
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. check-in: 0af7a3c8ac user: aku tags: trunk
06:50
Moved the integrity checks for split fragments into separate command. Reworked breaking of internal dependencies to contrain the length of the pending list. That part of the system is still a memory hog, especially for large changesets. Added notes about this and the successor retrieval being a bottleneck. check-in: c14e8f84cd user: aku tags: trunk
04:27
Fixed bug in new changeset code, tagged and untagged item lists went out of sync. check-in: facb4a8721 user: aku tags: trunk
03:57
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. check-in: b42cff97e3 user: aku tags: trunk
2007-11-29
09:16
Renamed state table 'csrevision' to 'csitem' to reflect the new internals of changesets. Updated all places where it is used. check-in: 80b1e8936f user: aku tags: trunk
09:15
Fix bad variable name. check-in: 4859304926 user: aku tags: trunk
09:14
Updated commentary regarding cycles at this point, items instead of comments, etc. check-in: af5904e6b7 user: aku tags: trunk
09:13
Extended checks for looped changesets. check-in: 960645443b user: aku tags: trunk
07:58
Renamed changeset method to describe modified results, and updated the one invoker check-in: 61829b076b user: aku tags: trunk