Fossil SCM

Bugfix. Destroy graph object after use.

aku 2007-11-16 06:51 trunk
Commit 7b3928681ea253b08fcc6546387d0e55f42d4526
--- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
+++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
@@ -84,10 +84,12 @@
8484
}
8585
if {![llength [dg nodes]]} break
8686
BreakCycle $dg [FindCycle $dg]
8787
InitializeCandidates $dg
8888
}
89
+
90
+ dg destroy
8991
9092
log write 3 cyclebreaker Done.
9193
return
9294
}
9395
9496
--- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
+++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
@@ -84,10 +84,12 @@
84 }
85 if {![llength [dg nodes]]} break
86 BreakCycle $dg [FindCycle $dg]
87 InitializeCandidates $dg
88 }
 
 
89
90 log write 3 cyclebreaker Done.
91 return
92 }
93
94
--- tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
+++ tools/cvs2fossil/lib/c2f_cyclebreaker.tcl
@@ -84,10 +84,12 @@
84 }
85 if {![llength [dg nodes]]} break
86 BreakCycle $dg [FindCycle $dg]
87 InitializeCandidates $dg
88 }
89
90 dg destroy
91
92 log write 3 cyclebreaker Done.
93 return
94 }
95
96

Keyboard Shortcuts

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