Mercurial > hg
diff tests/test-hgrc.out @ 10455:40dfd46d098f
ui: add HGPLAIN environment variable for easier scripting
If HGPLAIN is set, the following settings are ignored when read from
hgrc files:
- ui.debug
- ui.fallbackencoding
- ui.quiet
- ui.traceback
- ui.verbose
- defaults.*
Localization is also disabled.
Equivalent options set via command line are honored.
author | Brodie Rao <me+hg@dackz.net> |
---|---|
date | Sun, 07 Feb 2010 14:56:18 +0100 |
parents | cade47dcac2d |
children | 42afde35e9f7 |
line wrap: on
line diff
--- a/tests/test-hgrc.out Sat Feb 13 23:24:27 2010 -0600 +++ b/tests/test-hgrc.out Sun Feb 07 14:56:18 2010 +0100 @@ -10,3 +10,15 @@ foo.bar=a\nb\nc\nde\nfg foo.baz=bif cb hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory) +% customized hgrc +.../.hgrc:8: defaults.identify=-n +.../.hgrc:2: ui.debug=true +.../.hgrc:3: ui.fallbackencoding=ASCII +.../.hgrc:4: ui.quiet=true +.../.hgrc:5: ui.traceback=true +.../.hgrc:6: ui.verbose=true +% plain hgrc +none: ui.traceback=True +none: ui.verbose=False +none: ui.debug=True +none: ui.quiet=False