Differences From:
File
tools/cvs2fossil/lib/c2f_frev.tcl
part of check-in
[e45f47ec4a]
- Opcode synchronization reworked, optype table is master from which the in-memory array is loaded.
by
aku on
2007-11-07 07:46:31.
[view]
To:
File
tools/cvs2fossil/lib/c2f_frev.tcl
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.
Also file
tools/cvs2fossil/lib/c2f_frev.tcl
part of check-in
[95af789e1f]
- Oops. pass 5 is not complete. Missed the breaking of internal dependencies, this is done in this pass already. Extended pass _2_ and file revisions with code to save the branchchildren (possible dependencies), and pass 5 and changesets with the proper algorithm. From cvs2svn, works, do not truly like it, as it throws away and recomputes a lot of state after each split of a cset. Could update and reuse the state to perform all splits in one go. Will try that next, for now we have a working form in the code base.
by
aku on
2007-11-10 20:40:06.
[view]
@@ -366,8 +366,17 @@
}
state transaction {
state run [string map $map $cmd]
+
+ # And the branch children as well, for pass 5.
+ foreach bc $mybranchchildren {
+ set bcid [$bc id]
+ state run {
+ INSERT INTO revisionbranchchildren (rid, brid)
+ VALUES ($myid, $bcid);
+ }
+ }
}
return
}