--- a/mercurial/dispatch.py Tue Jun 14 13:29:25 2011 +0200
+++ b/mercurial/dispatch.py Tue Jun 14 20:25:38 2011 +0300
@@ -593,20 +593,20 @@
atexit.register(print_time)
if options['verbose'] or options['debug'] or options['quiet']:
- for ui in (ui, lui):
- ui.setconfig('ui', 'verbose', str(bool(options['verbose'])))
- ui.setconfig('ui', 'debug', str(bool(options['debug'])))
- ui.setconfig('ui', 'quiet', str(bool(options['quiet'])))
+ for ui_ in (ui, lui):
+ ui_.setconfig('ui', 'verbose', str(bool(options['verbose'])))
+ ui_.setconfig('ui', 'debug', str(bool(options['debug'])))
+ ui_.setconfig('ui', 'quiet', str(bool(options['quiet'])))
if options['traceback']:
- for ui in (ui, lui):
- ui.setconfig('ui', 'traceback', 'on')
+ for ui_ in (ui, lui):
+ ui_.setconfig('ui', 'traceback', 'on')
if options['noninteractive']:
- for ui in (ui, lui):
- ui.setconfig('ui', 'interactive', 'off')
+ for ui_ in (ui, lui):
+ ui_.setconfig('ui', 'interactive', 'off')
if cmdoptions.get('insecure', False):
- for ui in (ui, lui):
- ui.setconfig('web', 'cacerts', '')
+ for ui_ in (ui, lui):
+ ui_.setconfig('web', 'cacerts', '')
if options['help']:
return commands.help_(ui, cmd, options['version'])