##// END OF EJS Templates
ui: ignore ui.logtemplate and ui.style when HGPLAIN is set...
Yuya Nishihara -
r10567:99272344 stable
parent child Browse files
Show More
@@ -81,6 +81,7 b' class ui(object):'
81 81
82 82 if self.plain():
83 83 for k in ('debug', 'fallbackencoding', 'quiet', 'slash',
84 'logtemplate', 'style',
84 85 'traceback', 'verbose'):
85 86 if k in cfg['ui']:
86 87 del cfg['ui'][k]
@@ -36,6 +36,8 b' echo "quiet=true" >> $HGRCPATH'
36 36 echo "slash=true" >> $HGRCPATH
37 37 echo "traceback=true" >> $HGRCPATH
38 38 echo "verbose=true" >> $HGRCPATH
39 echo "style=~/.hgstyle" >> $HGRCPATH
40 echo "logtemplate={node}" >> $HGRCPATH
39 41 echo "[defaults]" >> $HGRCPATH
40 42 echo "identify=-n" >> $HGRCPATH
41 43 echo "[alias]" >> $HGRCPATH
@@ -11,14 +11,16 b' foo.bar=a\\nb\\nc\\nde\\nfg'
11 11 foo.baz=bif cb
12 12 hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory)
13 13 % customized hgrc
14 .../.hgrc:11: alias.log=log -g
15 .../.hgrc:9: defaults.identify=-n
14 .../.hgrc:13: alias.log=log -g
15 .../.hgrc:11: defaults.identify=-n
16 16 .../.hgrc:2: ui.debug=true
17 17 .../.hgrc:3: ui.fallbackencoding=ASCII
18 18 .../.hgrc:4: ui.quiet=true
19 19 .../.hgrc:5: ui.slash=true
20 20 .../.hgrc:6: ui.traceback=true
21 21 .../.hgrc:7: ui.verbose=true
22 .../.hgrc:8: ui.style=~/.hgstyle
23 .../.hgrc:9: ui.logtemplate={node}
22 24 % plain hgrc
23 25 none: ui.traceback=True
24 26 none: ui.verbose=False
General Comments 0
You need to be logged in to leave comments. Login now