diff mercurial/ui.py @ 10567:992723445a29 stable

ui: ignore ui.logtemplate and ui.style when HGPLAIN is set HGPLAIN should suppress them because they change Mercurial's default output.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 03 Mar 2010 00:12:05 +0900
parents 79dd96774187
children 32b213b9b22c
line wrap: on
line diff
--- a/mercurial/ui.py	Tue Mar 02 10:40:58 2010 +0100
+++ b/mercurial/ui.py	Wed Mar 03 00:12:05 2010 +0900
@@ -81,6 +81,7 @@
 
         if self.plain():
             for k in ('debug', 'fallbackencoding', 'quiet', 'slash',
+                      'logtemplate', 'style',
                       'traceback', 'verbose'):
                 if k in cfg['ui']:
                     del cfg['ui'][k]