Differences From:
File
tools/cvs2fossil/lib/c2f_prev.tcl
part of check-in
[ac02614803]
- 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.
by
aku on
2007-12-02 03:49:11.
[view]
To:
File
tools/cvs2fossil/lib/c2f_prev.tcl
part of check-in
[712010580a]
- Bugfix. Have the symbol dependency retrieval commands actually return something.
by
aku on
2007-12-02 04:55:38.
[view]
@@ -1103,8 +1103,9 @@
}
# var(dv) = dict (item -> list (item)), item = list (type id)
typemethod predecessors {dv tags} {
+ upvar 1 $dv dependencies
# The predecessors of a tag are all the revisions the tags are
# attached to, as well as all the branches or tags which are
# their prefered parents.
@@ -1181,8 +1182,9 @@
}
# var(dv) = dict (item -> list (item)), item = list (type id)
typemethod successors {dv branches} {
+ upvar 1 $dv dependencies
# The first revision committed on a branch, and all branches
# and tags which have it as their prefered parent are the
# successors of a branch.
@@ -1217,8 +1219,9 @@
}
# var(dv) = dict (item -> list (item)), item = list (type id)
typemethod predecessors {dv branches} {
+ upvar 1 $dv dependencies
# The predecessors of a branch are all the revisions the
# branches are spawned from, as well as all the branches or
# tags which are their prefered parents.