Fossil SCM

Added log output to make the log during file import more complete.

aku 2008-01-27 20:43 trunk
Commit e60ba158215dea5ca57084010bea46b6b36ee425
--- tools/cvs2fossil/lib/c2f_fossil.tcl
+++ tools/cvs2fossil/lib/c2f_fossil.tcl
@@ -56,10 +56,12 @@
5656
method importfiles {map} {
5757
# map = list (instruction), instruction = add|delta
5858
# add = list ('A', path)
5959
# delta = list ('D', path, src)
6060
61
+ log write 3 fossil {Importing revisions...}
62
+
6163
array set id {}
6264
$self InWorkspace
6365
6466
set n 0
6567
set max [llength $map]
@@ -86,10 +88,12 @@
8688
Do test-content-deltify $id($pa) $id($pb) 1
8789
}
8890
}
8991
}
9092
$self RestorePwd
93
+
94
+ log write 3 fossil Done.
9195
return [array get id]
9296
}
9397
9498
method finalize {destination} {
9599
file rename -force $myrepository $destination
96100
--- tools/cvs2fossil/lib/c2f_fossil.tcl
+++ tools/cvs2fossil/lib/c2f_fossil.tcl
@@ -56,10 +56,12 @@
56 method importfiles {map} {
57 # map = list (instruction), instruction = add|delta
58 # add = list ('A', path)
59 # delta = list ('D', path, src)
60
 
 
61 array set id {}
62 $self InWorkspace
63
64 set n 0
65 set max [llength $map]
@@ -86,10 +88,12 @@
86 Do test-content-deltify $id($pa) $id($pb) 1
87 }
88 }
89 }
90 $self RestorePwd
 
 
91 return [array get id]
92 }
93
94 method finalize {destination} {
95 file rename -force $myrepository $destination
96
--- tools/cvs2fossil/lib/c2f_fossil.tcl
+++ tools/cvs2fossil/lib/c2f_fossil.tcl
@@ -56,10 +56,12 @@
56 method importfiles {map} {
57 # map = list (instruction), instruction = add|delta
58 # add = list ('A', path)
59 # delta = list ('D', path, src)
60
61 log write 3 fossil {Importing revisions...}
62
63 array set id {}
64 $self InWorkspace
65
66 set n 0
67 set max [llength $map]
@@ -86,10 +88,12 @@
88 Do test-content-deltify $id($pa) $id($pb) 1
89 }
90 }
91 }
92 $self RestorePwd
93
94 log write 3 fossil Done.
95 return [array get id]
96 }
97
98 method finalize {destination} {
99 file rename -force $myrepository $destination
100

Keyboard Shortcuts

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