Fossil SCM

Fixed bug in the new code setting up the timeline, forgot to clean up loop state, causing data from previous iterations to bleed into the current one, causing the use of bogus data and ultimatively a bogus timeline. Note! Incidentially a bug in the old code was fixed by the new one, the use of mismatching revisions and commit messages. That caused the generation of extra changesets in the old code.

aku 2007-09-17 04:14 trunk
Commit 10e3b3ed76e73022adc76b5e98f0c28133b51c4e
--- tools/lib/cvs.tcl
+++ tools/lib/cvs.tcl
@@ -188,10 +188,16 @@
188188
NoteDeadRoots $f $rev $operation
189189
timeline::add $date($rev) $f $rev $operation $auth($rev) $cmsg($rev)
190190
incr n
191191
}
192192
#B Extend branch management
193
+
194
+ unset md
195
+ unset date
196
+ unset auth
197
+ unset cmsg
198
+ unset stat
193199
}
194200
195201
write 0 cvs "Generated [NSIPL $n entry entries]"
196202
return
197203
}
198204
--- tools/lib/cvs.tcl
+++ tools/lib/cvs.tcl
@@ -188,10 +188,16 @@
188 NoteDeadRoots $f $rev $operation
189 timeline::add $date($rev) $f $rev $operation $auth($rev) $cmsg($rev)
190 incr n
191 }
192 #B Extend branch management
 
 
 
 
 
 
193 }
194
195 write 0 cvs "Generated [NSIPL $n entry entries]"
196 return
197 }
198
--- tools/lib/cvs.tcl
+++ tools/lib/cvs.tcl
@@ -188,10 +188,16 @@
188 NoteDeadRoots $f $rev $operation
189 timeline::add $date($rev) $f $rev $operation $auth($rev) $cmsg($rev)
190 incr n
191 }
192 #B Extend branch management
193
194 unset md
195 unset date
196 unset auth
197 unset cmsg
198 unset stat
199 }
200
201 write 0 cvs "Generated [NSIPL $n entry entries]"
202 return
203 }
204
--- tools/lib/cvs_timeline.tcl
+++ tools/lib/cvs_timeline.tcl
@@ -19,11 +19,11 @@
1919
# -----------------------------------------------------------------------------
2020
# API Implementation
2121
2222
proc ::vc::cvs::ws::timeline::add {date file revision operation author cmsg} {
2323
variable timeline
24
- lappend timeline($date) [list $file $revision $operation $author $cmsg]
24
+ lappend timeline($date) [list $file $revision $operation $author $cmsg]
2525
return
2626
}
2727
2828
proc ::vc::cvs::ws::timeline::foreach {dv fv rv ov av cv script} {
2929
upvar 1 $dv date $fv file $rv revision $ov operation $av author $cv cmsg
3030
--- tools/lib/cvs_timeline.tcl
+++ tools/lib/cvs_timeline.tcl
@@ -19,11 +19,11 @@
19 # -----------------------------------------------------------------------------
20 # API Implementation
21
22 proc ::vc::cvs::ws::timeline::add {date file revision operation author cmsg} {
23 variable timeline
24 lappend timeline($date) [list $file $revision $operation $author $cmsg]
25 return
26 }
27
28 proc ::vc::cvs::ws::timeline::foreach {dv fv rv ov av cv script} {
29 upvar 1 $dv date $fv file $rv revision $ov operation $av author $cv cmsg
30
--- tools/lib/cvs_timeline.tcl
+++ tools/lib/cvs_timeline.tcl
@@ -19,11 +19,11 @@
19 # -----------------------------------------------------------------------------
20 # API Implementation
21
22 proc ::vc::cvs::ws::timeline::add {date file revision operation author cmsg} {
23 variable timeline
24 lappend timeline($date) [list $file $revision $operation $author $cmsg]
25 return
26 }
27
28 proc ::vc::cvs::ws::timeline::foreach {dv fv rv ov av cv script} {
29 upvar 1 $dv date $fv file $rv revision $ov operation $av author $cv cmsg
30

Keyboard Shortcuts

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