Fossil SCM

State log output, moved to slightly higher verbosity level to allow them to be suppressed.

aku 2007-11-25 07:32 trunk
Commit 00e041dd220e6ee1006ea20bc0e536396d9186d2
--- tools/cvs2fossil/lib/c2f_state.tcl
+++ tools/cvs2fossil/lib/c2f_state.tcl
@@ -98,21 +98,21 @@
9898
typemethod writing {name definition} {
9999
# Method for a user to declare a table its needs for storing
100100
# persistent state, and the expected structure. A possibly
101101
# previously existing definition is dropped.
102102
103
- log write 0 state "writing $name" ; # TODO move to level 5 or so
103
+ log write 1 state "writing $name" ; # TODO move to level 5 or so
104104
105105
$mystate transaction {
106106
catch { $mystate eval "DROP TABLE $name" }
107107
$mystate eval "CREATE TABLE $name ( $definition )"
108108
}
109109
return
110110
}
111111
112112
typemethod reading {name} {
113
- log write 0 state "reading $name" ; # TODO move to level 5 or so
113
+ log write 1 state "reading $name" ; # TODO move to level 5 or so
114114
115115
# Method for a user to declare a table it wishes to read
116116
# from. A missing table is an internal error causing an
117117
# immediate exit.
118118
@@ -133,11 +133,11 @@
133133
134134
typemethod discard {name} {
135135
# Method for a user to remove outdated information from the
136136
# persistent state, table by table.
137137
138
- log write 0 state "discard $name" ; # TODO move to level 5 or so
138
+ log write 1 state "discard $name" ; # TODO move to level 5 or so
139139
140140
$mystate transaction {
141141
catch { $mystate eval "DROP TABLE $name" }
142142
}
143143
return
144144
--- tools/cvs2fossil/lib/c2f_state.tcl
+++ tools/cvs2fossil/lib/c2f_state.tcl
@@ -98,21 +98,21 @@
98 typemethod writing {name definition} {
99 # Method for a user to declare a table its needs for storing
100 # persistent state, and the expected structure. A possibly
101 # previously existing definition is dropped.
102
103 log write 0 state "writing $name" ; # TODO move to level 5 or so
104
105 $mystate transaction {
106 catch { $mystate eval "DROP TABLE $name" }
107 $mystate eval "CREATE TABLE $name ( $definition )"
108 }
109 return
110 }
111
112 typemethod reading {name} {
113 log write 0 state "reading $name" ; # TODO move to level 5 or so
114
115 # Method for a user to declare a table it wishes to read
116 # from. A missing table is an internal error causing an
117 # immediate exit.
118
@@ -133,11 +133,11 @@
133
134 typemethod discard {name} {
135 # Method for a user to remove outdated information from the
136 # persistent state, table by table.
137
138 log write 0 state "discard $name" ; # TODO move to level 5 or so
139
140 $mystate transaction {
141 catch { $mystate eval "DROP TABLE $name" }
142 }
143 return
144
--- tools/cvs2fossil/lib/c2f_state.tcl
+++ tools/cvs2fossil/lib/c2f_state.tcl
@@ -98,21 +98,21 @@
98 typemethod writing {name definition} {
99 # Method for a user to declare a table its needs for storing
100 # persistent state, and the expected structure. A possibly
101 # previously existing definition is dropped.
102
103 log write 1 state "writing $name" ; # TODO move to level 5 or so
104
105 $mystate transaction {
106 catch { $mystate eval "DROP TABLE $name" }
107 $mystate eval "CREATE TABLE $name ( $definition )"
108 }
109 return
110 }
111
112 typemethod reading {name} {
113 log write 1 state "reading $name" ; # TODO move to level 5 or so
114
115 # Method for a user to declare a table it wishes to read
116 # from. A missing table is an internal error causing an
117 # immediate exit.
118
@@ -133,11 +133,11 @@
133
134 typemethod discard {name} {
135 # Method for a user to remove outdated information from the
136 # persistent state, table by table.
137
138 log write 1 state "discard $name" ; # TODO move to level 5 or so
139
140 $mystate transaction {
141 catch { $mystate eval "DROP TABLE $name" }
142 }
143 return
144

Keyboard Shortcuts

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