Differences From:
File
tools/cvs2fossil/lib/c2f_prevlink.tcl
part of check-in
[4859304926731f]
- Fix bad variable name.
by
aku on
2007-11-29 09:15:35.
[view]
To:
File
tools/cvs2fossil/lib/c2f_prevlink.tcl
part of check-in
[3c0ef2c379]
- Removed lots of now dead code. Added a note to the last remaining user of the changeset method 'nextmap'.
by
aku on
2007-12-05 02:21:00.
[view]
@@ -51,9 +51,9 @@
# their successors found in NEXT. These revisions do not
# count, as they did not induce any of the two dependencies
# under consideration. They can be ignored.
- # 2. Revisions which have predecessors in PREV and sucessors
+ # 2. Revisions which have predecessors in PREV and successors
# in NEXT. They are called 'passthrough' in cvs2svn. They
# induce both dependencies under consideration and are thus
# critical in the creation of the cycle. As such they are
# also unbreakable :(
@@ -70,8 +70,12 @@
# changeset between categories 3 and 4, with category 1 going
# wherever, will break the cycle. If category 2 revisions are
# present we can still perform the split, this will however
# not break the cycle, only weaken it.
+
+ # NOTE: This is the only remaining user of 'nextmap'. Look
+ # into the possibility of performing the relevant counting
+ # within the database.
array set csetprevmap [Invert [$myprev nextmap]]
array set csetnextmap [$mycset nextmap]