Fossil SCM

Bugfix in pass manager, handling of open-ended pass specifications.

aku 2007-11-25 02:52 trunk
Commit 9668b164556bbed0d1cac851e4a85a5572757bb6
--- tools/cvs2fossil/lib/c2f_pass.tcl
+++ tools/cvs2fossil/lib/c2f_pass.tcl
@@ -80,11 +80,11 @@
8080
Ok? $end end ok
8181
}
8282
8383
if {$ok} {
8484
set mystart [Convert $start 0]
85
- set myend [Convert $end end]
85
+ set myend [Convert $end [expr {[llength $mypasses] - 1}]]
8686
if {$mystart > $myend} {
8787
trouble fatal "Start pass is after end pass"
8888
}
8989
}
9090
} elseif {[llength $pl] < 2} {
9191
--- tools/cvs2fossil/lib/c2f_pass.tcl
+++ tools/cvs2fossil/lib/c2f_pass.tcl
@@ -80,11 +80,11 @@
80 Ok? $end end ok
81 }
82
83 if {$ok} {
84 set mystart [Convert $start 0]
85 set myend [Convert $end end]
86 if {$mystart > $myend} {
87 trouble fatal "Start pass is after end pass"
88 }
89 }
90 } elseif {[llength $pl] < 2} {
91
--- tools/cvs2fossil/lib/c2f_pass.tcl
+++ tools/cvs2fossil/lib/c2f_pass.tcl
@@ -80,11 +80,11 @@
80 Ok? $end end ok
81 }
82
83 if {$ok} {
84 set mystart [Convert $start 0]
85 set myend [Convert $end [expr {[llength $mypasses] - 1}]]
86 if {$mystart > $myend} {
87 trouble fatal "Start pass is after end pass"
88 }
89 }
90 } elseif {[llength $pl] < 2} {
91

Keyboard Shortcuts

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