##// END OF EJS Templates
fsmonitor: rename new verbose config knob...
Boris Feld -
r41758:286eeed1 default
parent child Browse files
Show More
@@ -161,7 +161,7 b" configitem('fsmonitor', 'timeout',"
161 161 configitem('fsmonitor', 'blacklistusers',
162 162 default=list,
163 163 )
164 configitem('hgwatchman', 'verbose',
164 configitem('fsmonitor', 'verbose',
165 165 default=True,
166 166 )
167 167 configitem('experimental', 'fsmonitor.transaction_notify',
@@ -175,13 +175,13 b" configitem('experimental', 'fsmonitor.tr"
175 175 def _handleunavailable(ui, state, ex):
176 176 """Exception handler for Watchman interaction exceptions"""
177 177 if isinstance(ex, watchmanclient.Unavailable):
178 # experimental config: hgwatchman.verbose
179 if ex.warn and ui.configbool('hgwatchman', 'verbose'):
178 # experimental config: fsmonitor.verbose
179 if ex.warn and ui.configbool('fsmonitor', 'verbose'):
180 180 ui.warn(str(ex) + '\n')
181 181 if ex.invalidate:
182 182 state.invalidate()
183 # experimental config: hgwatchman.verbose
184 if ui.configbool('hgwatchman','verbose'):
183 # experimental config: fsmonitor.verbose
184 if ui.configbool('fsmonitor', 'verbose'):
185 185 ui.log('fsmonitor', 'Watchman unavailable: %s\n', ex.msg)
186 186 else:
187 187 ui.log('fsmonitor', 'Watchman exception: %s\n', ex)
General Comments 0
You need to be logged in to leave comments. Login now