Fossil SCM

Bugfix. Have the symbol dependency retrieval commands actually return something.

aku 2007-12-02 04:55 trunk
Commit 712010580ae12c2e126e5cf39d0d73211f75bfa6
--- tools/cvs2fossil/lib/c2f_prev.tcl
+++ tools/cvs2fossil/lib/c2f_prev.tcl
@@ -1102,10 +1102,11 @@
11021102
return
11031103
}
11041104
11051105
# var(dv) = dict (item -> list (item)), item = list (type id)
11061106
typemethod predecessors {dv tags} {
1107
+ upvar 1 $dv dependencies
11071108
# The predecessors of a tag are all the revisions the tags are
11081109
# attached to, as well as all the branches or tags which are
11091110
# their prefered parents.
11101111
11111112
set theset ('[join $tags {','}]')
@@ -1180,10 +1181,11 @@
11801181
"]
11811182
}
11821183
11831184
# var(dv) = dict (item -> list (item)), item = list (type id)
11841185
typemethod successors {dv branches} {
1186
+ upvar 1 $dv dependencies
11851187
# The first revision committed on a branch, and all branches
11861188
# and tags which have it as their prefered parent are the
11871189
# successors of a branch.
11881190
11891191
set theset ('[join $branches {','}]')
@@ -1216,10 +1218,11 @@
12161218
return
12171219
}
12181220
12191221
# var(dv) = dict (item -> list (item)), item = list (type id)
12201222
typemethod predecessors {dv branches} {
1223
+ upvar 1 $dv dependencies
12211224
# The predecessors of a branch are all the revisions the
12221225
# branches are spawned from, as well as all the branches or
12231226
# tags which are their prefered parents.
12241227
12251228
set theset ('[join $tags {','}]')
12261229
--- tools/cvs2fossil/lib/c2f_prev.tcl
+++ tools/cvs2fossil/lib/c2f_prev.tcl
@@ -1102,10 +1102,11 @@
1102 return
1103 }
1104
1105 # var(dv) = dict (item -> list (item)), item = list (type id)
1106 typemethod predecessors {dv tags} {
 
1107 # The predecessors of a tag are all the revisions the tags are
1108 # attached to, as well as all the branches or tags which are
1109 # their prefered parents.
1110
1111 set theset ('[join $tags {','}]')
@@ -1180,10 +1181,11 @@
1180 "]
1181 }
1182
1183 # var(dv) = dict (item -> list (item)), item = list (type id)
1184 typemethod successors {dv branches} {
 
1185 # The first revision committed on a branch, and all branches
1186 # and tags which have it as their prefered parent are the
1187 # successors of a branch.
1188
1189 set theset ('[join $branches {','}]')
@@ -1216,10 +1218,11 @@
1216 return
1217 }
1218
1219 # var(dv) = dict (item -> list (item)), item = list (type id)
1220 typemethod predecessors {dv branches} {
 
1221 # The predecessors of a branch are all the revisions the
1222 # branches are spawned from, as well as all the branches or
1223 # tags which are their prefered parents.
1224
1225 set theset ('[join $tags {','}]')
1226
--- tools/cvs2fossil/lib/c2f_prev.tcl
+++ tools/cvs2fossil/lib/c2f_prev.tcl
@@ -1102,10 +1102,11 @@
1102 return
1103 }
1104
1105 # var(dv) = dict (item -> list (item)), item = list (type id)
1106 typemethod predecessors {dv tags} {
1107 upvar 1 $dv dependencies
1108 # The predecessors of a tag are all the revisions the tags are
1109 # attached to, as well as all the branches or tags which are
1110 # their prefered parents.
1111
1112 set theset ('[join $tags {','}]')
@@ -1180,10 +1181,11 @@
1181 "]
1182 }
1183
1184 # var(dv) = dict (item -> list (item)), item = list (type id)
1185 typemethod successors {dv branches} {
1186 upvar 1 $dv dependencies
1187 # The first revision committed on a branch, and all branches
1188 # and tags which have it as their prefered parent are the
1189 # successors of a branch.
1190
1191 set theset ('[join $branches {','}]')
@@ -1216,10 +1218,11 @@
1218 return
1219 }
1220
1221 # var(dv) = dict (item -> list (item)), item = list (type id)
1222 typemethod predecessors {dv branches} {
1223 upvar 1 $dv dependencies
1224 # The predecessors of a branch are all the revisions the
1225 # branches are spawned from, as well as all the branches or
1226 # tags which are their prefered parents.
1227
1228 set theset ('[join $tags {','}]')
1229

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button