Fossil SCM

Added progress output to the breaking of backward branches.

aku 2007-12-02 06:58 trunk
Commit a437da486daf3e17604928a8d566f2cca9359aa6
--- tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
+++ tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
@@ -122,11 +122,14 @@
122122
# at least one incoming revision changeset which is committed
123123
# after at least one of the outgoing revision changesets, per
124124
# the order computed in pass 6. In "cvs2svn" this is called
125125
# "retrograde".
126126
127
+ set n 0
128
+ set max [llength [$graph nodes]]
127129
foreach cset [$graph nodes] {
130
+ log progress 2 breakacycle $n $max ; incr n
128131
if {![$cset isbranch]} continue
129132
CheckAndBreakBackward $graph $cset
130133
}
131134
return
132135
}
133136
--- tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
+++ tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
@@ -122,11 +122,14 @@
122 # at least one incoming revision changeset which is committed
123 # after at least one of the outgoing revision changesets, per
124 # the order computed in pass 6. In "cvs2svn" this is called
125 # "retrograde".
126
 
 
127 foreach cset [$graph nodes] {
 
128 if {![$cset isbranch]} continue
129 CheckAndBreakBackward $graph $cset
130 }
131 return
132 }
133
--- tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
+++ tools/cvs2fossil/lib/c2f_pbreakacycle.tcl
@@ -122,11 +122,14 @@
122 # at least one incoming revision changeset which is committed
123 # after at least one of the outgoing revision changesets, per
124 # the order computed in pass 6. In "cvs2svn" this is called
125 # "retrograde".
126
127 set n 0
128 set max [llength [$graph nodes]]
129 foreach cset [$graph nodes] {
130 log progress 2 breakacycle $n $max ; incr n
131 if {![$cset isbranch]} continue
132 CheckAndBreakBackward $graph $cset
133 }
134 return
135 }
136

Keyboard Shortcuts

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