Show More
@@ -80,8 +80,8 b' class ui(object):' | |||||
80 | self.warn(_("Ignored: %s\n") % str(inst)) |
|
80 | self.warn(_("Ignored: %s\n") % str(inst)) | |
81 |
|
81 | |||
82 | if self.plain(): |
|
82 | if self.plain(): | |
83 |
for k in ('debug', 'fallbackencoding', 'quiet', ' |
|
83 | for k in ('debug', 'fallbackencoding', 'quiet', 'slash', | |
84 | 'verbose'): |
|
84 | 'traceback', 'verbose'): | |
85 | if k in cfg['ui']: |
|
85 | if k in cfg['ui']: | |
86 | del cfg['ui'][k] |
|
86 | del cfg['ui'][k] | |
87 | for k, v in cfg.items('alias'): |
|
87 | for k, v in cfg.items('alias'): |
@@ -33,6 +33,7 b' echo "[ui]" > $HGRCPATH' | |||||
33 | echo "debug=true" >> $HGRCPATH |
|
33 | echo "debug=true" >> $HGRCPATH | |
34 | echo "fallbackencoding=ASCII" >> $HGRCPATH |
|
34 | echo "fallbackencoding=ASCII" >> $HGRCPATH | |
35 | echo "quiet=true" >> $HGRCPATH |
|
35 | echo "quiet=true" >> $HGRCPATH | |
|
36 | echo "slash=true" >> $HGRCPATH | |||
36 | echo "traceback=true" >> $HGRCPATH |
|
37 | echo "traceback=true" >> $HGRCPATH | |
37 | echo "verbose=true" >> $HGRCPATH |
|
38 | echo "verbose=true" >> $HGRCPATH | |
38 | echo "[defaults]" >> $HGRCPATH |
|
39 | echo "[defaults]" >> $HGRCPATH |
@@ -11,13 +11,14 b' foo.bar=a\\nb\\nc\\nde\\nfg' | |||||
11 | foo.baz=bif cb |
|
11 | foo.baz=bif cb | |
12 | hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory) |
|
12 | hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory) | |
13 | % customized hgrc |
|
13 | % customized hgrc | |
14 |
.../.hgrc:1 |
|
14 | .../.hgrc:11: alias.log=log -g | |
15 |
.../.hgrc: |
|
15 | .../.hgrc:9: defaults.identify=-n | |
16 | .../.hgrc:2: ui.debug=true |
|
16 | .../.hgrc:2: ui.debug=true | |
17 | .../.hgrc:3: ui.fallbackencoding=ASCII |
|
17 | .../.hgrc:3: ui.fallbackencoding=ASCII | |
18 | .../.hgrc:4: ui.quiet=true |
|
18 | .../.hgrc:4: ui.quiet=true | |
19 |
.../.hgrc:5: ui. |
|
19 | .../.hgrc:5: ui.slash=true | |
20 |
.../.hgrc:6: ui. |
|
20 | .../.hgrc:6: ui.traceback=true | |
|
21 | .../.hgrc:7: ui.verbose=true | |||
21 | % plain hgrc |
|
22 | % plain hgrc | |
22 | none: ui.traceback=True |
|
23 | none: ui.traceback=True | |
23 | none: ui.verbose=False |
|
24 | none: ui.verbose=False |
General Comments 0
You need to be logged in to leave comments.
Login now