Mercurial > hg
annotate tests/test-hgrc.t @ 14573:d590ff1f22b2
mq: rename series_guards to seriesguards
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 13 Jun 2011 11:40:27 +0200 |
parents | a086b91ce7fb |
children | 1b8c70c9f47c |
rev | line source |
---|---|
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
1 Use hgrc within $TESTTMP |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
2 |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
3 $ HGRCPATH=`pwd`/hgrc |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
4 $ export HGRCPATH |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
5 |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
6 Basic syntax error |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
7 |
12014 | 8 $ echo "invalid" > $HGRCPATH |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
9 $ hg version |
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
10 hg: parse error at $TESTTMP/hgrc:1: invalid |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
11 [255] |
12014 | 12 $ echo "" > $HGRCPATH |
1473
7d66ce9895fa
make readconfig take a filename instead of a file pointer as argument
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
13 |
12399
4fee1fd3de9a
tests: added a short description to issue numbers
Martin Geisler <mg@aragost.com>
parents:
12376
diff
changeset
|
14 Issue1199: Can't use '%' in hgrc (eg url encoded username) |
7044
e51c0f41f271
Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
4659
diff
changeset
|
15 |
12014 | 16 $ hg init "foo%bar" |
17 $ hg clone "foo%bar" foobar | |
18 updating to branch default | |
19 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
20 $ cd foobar | |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
21 $ cat .hg/hgrc |
12014 | 22 [paths] |
13572
1bb2a56a9d73
tests: use $TESTTMP more and use (glob) less
Martin Geisler <mg@aragost.com>
parents:
12697
diff
changeset
|
23 default = $TESTTMP/foo%bar |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
24 $ hg paths |
13572
1bb2a56a9d73
tests: use $TESTTMP more and use (glob) less
Martin Geisler <mg@aragost.com>
parents:
12697
diff
changeset
|
25 default = $TESTTMP/foo%bar |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
26 $ hg showconfig |
13572
1bb2a56a9d73
tests: use $TESTTMP more and use (glob) less
Martin Geisler <mg@aragost.com>
parents:
12697
diff
changeset
|
27 bundle.mainreporoot=$TESTTMP/foobar |
1bb2a56a9d73
tests: use $TESTTMP more and use (glob) less
Martin Geisler <mg@aragost.com>
parents:
12697
diff
changeset
|
28 paths.default=$TESTTMP/foo%bar |
12014 | 29 $ cd .. |
30 | |
31 issue1829: wrong indentation | |
9470
ba75830d17a9
dispatch: catch ConfigError while constructing ui
Martin Geisler <mg@lazybytes.net>
parents:
7044
diff
changeset
|
32 |
12014 | 33 $ echo '[foo]' > $HGRCPATH |
34 $ echo ' x = y' >> $HGRCPATH | |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
35 $ hg version |
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
36 hg: parse error at $TESTTMP/hgrc:2: x = y |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
37 [255] |
10042
7cdd2a7db2c2
config: raise ConfigError on non-existing include files
Martin Geisler <mg@lazybytes.net>
parents:
9470
diff
changeset
|
38 |
12014 | 39 $ python -c "print '[foo]\nbar = a\n b\n c \n de\n fg \nbaz = bif cb \n'" \ |
40 > > $HGRCPATH | |
41 $ hg showconfig foo | |
42 foo.bar=a\nb\nc\nde\nfg | |
43 foo.baz=bif cb | |
10295
44c923eeb81d
config: handle short continuations (issue1999)
Matt Mackall <mpm@selenic.com>
parents:
10042
diff
changeset
|
44 |
12014 | 45 $ FAKEPATH=/path/to/nowhere |
46 $ export FAKEPATH | |
47 $ echo '%include $FAKEPATH/no-such-file' > $HGRCPATH | |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
48 $ hg version |
14491
a086b91ce7fb
tests: glob version number in test-hgrc
Matt Mackall <mpm@selenic.com>
parents:
14489
diff
changeset
|
49 Mercurial Distributed SCM (version *) (glob) |
14489
3a27faf9a999
tests: update for handling of missing hgrc includes
Matt Mackall <mpm@selenic.com>
parents:
14372
diff
changeset
|
50 (see http://mercurial.selenic.com for more information) |
3a27faf9a999
tests: update for handling of missing hgrc includes
Matt Mackall <mpm@selenic.com>
parents:
14372
diff
changeset
|
51 |
3a27faf9a999
tests: update for handling of missing hgrc includes
Matt Mackall <mpm@selenic.com>
parents:
14372
diff
changeset
|
52 Copyright (C) 2005-2011 Matt Mackall and others |
3a27faf9a999
tests: update for handling of missing hgrc includes
Matt Mackall <mpm@selenic.com>
parents:
14372
diff
changeset
|
53 This is free software; see the source for copying conditions. There is NO |
3a27faf9a999
tests: update for handling of missing hgrc includes
Matt Mackall <mpm@selenic.com>
parents:
14372
diff
changeset
|
54 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
12014 | 55 $ unset FAKEPATH |
10455
40dfd46d098f
ui: add HGPLAIN environment variable for easier scripting
Brodie Rao <me+hg@dackz.net>
parents:
10296
diff
changeset
|
56 |
12014 | 57 username expansion |
58 | |
59 $ olduser=$HGUSER | |
60 $ unset HGUSER | |
61 | |
62 $ FAKEUSER='John Doe' | |
63 $ export FAKEUSER | |
64 $ echo '[ui]' > $HGRCPATH | |
65 $ echo 'username = $FAKEUSER' >> $HGRCPATH | |
11225
d6dbd5e4ee72
ui.username(): expand environment variables in username configuration value.
Chad Dombrova <chadrik@gmail.com>
parents:
11224
diff
changeset
|
66 |
12014 | 67 $ hg init usertest |
68 $ cd usertest | |
69 $ touch bar | |
70 $ hg commit --addremove --quiet -m "added bar" | |
71 $ hg log --template "{author}\n" | |
72 John Doe | |
73 $ cd .. | |
11225
d6dbd5e4ee72
ui.username(): expand environment variables in username configuration value.
Chad Dombrova <chadrik@gmail.com>
parents:
11224
diff
changeset
|
74 |
12109
51272b65b9b7
tests: remove useless sed in test-hgrc
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
12014
diff
changeset
|
75 $ hg showconfig |
12014 | 76 ui.username=$FAKEUSER |
11225
d6dbd5e4ee72
ui.username(): expand environment variables in username configuration value.
Chad Dombrova <chadrik@gmail.com>
parents:
11224
diff
changeset
|
77 |
12014 | 78 $ unset FAKEUSER |
79 $ HGUSER=$olduser | |
80 $ export HGUSER | |
11225
d6dbd5e4ee72
ui.username(): expand environment variables in username configuration value.
Chad Dombrova <chadrik@gmail.com>
parents:
11224
diff
changeset
|
81 |
12697
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
82 showconfig with multiple arguments |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
83 |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
84 $ echo "[alias]" > $HGRCPATH |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
85 $ echo "log = log -g" >> $HGRCPATH |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
86 $ echo "[defaults]" >> $HGRCPATH |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
87 $ echo "identify = -n" >> $HGRCPATH |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
88 $ hg showconfig alias defaults |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
89 alias.log=log -g |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
90 defaults.identify=-n |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
91 $ hg showconfig alias defaults.identify |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
92 abort: only one config item permitted |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
93 [255] |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
94 $ hg showconfig alias.log defaults.identify |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
95 abort: only one config item permitted |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
96 [255] |
14853ca7e11b
showconfig: don't accept multiple sections and one config item
Brodie Rao <brodie@bitheap.org>
parents:
12640
diff
changeset
|
97 |
12014 | 98 HGPLAIN |
11225
d6dbd5e4ee72
ui.username(): expand environment variables in username configuration value.
Chad Dombrova <chadrik@gmail.com>
parents:
11224
diff
changeset
|
99 |
12014 | 100 $ cd .. |
101 $ p=`pwd` | |
102 $ echo "[ui]" > $HGRCPATH | |
103 $ echo "debug=true" >> $HGRCPATH | |
104 $ echo "fallbackencoding=ASCII" >> $HGRCPATH | |
105 $ echo "quiet=true" >> $HGRCPATH | |
106 $ echo "slash=true" >> $HGRCPATH | |
107 $ echo "traceback=true" >> $HGRCPATH | |
108 $ echo "verbose=true" >> $HGRCPATH | |
109 $ echo "style=~/.hgstyle" >> $HGRCPATH | |
110 $ echo "logtemplate={node}" >> $HGRCPATH | |
111 $ echo "[defaults]" >> $HGRCPATH | |
112 $ echo "identify=-n" >> $HGRCPATH | |
113 $ echo "[alias]" >> $HGRCPATH | |
114 $ echo "log=log -g" >> $HGRCPATH | |
115 | |
116 customized hgrc | |
10455
40dfd46d098f
ui: add HGPLAIN environment variable for easier scripting
Brodie Rao <me+hg@dackz.net>
parents:
10296
diff
changeset
|
117 |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
118 $ hg showconfig |
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
119 read config from: $TESTTMP/hgrc |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
120 $TESTTMP/hgrc:13: alias.log=log -g |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
121 $TESTTMP/hgrc:11: defaults.identify=-n |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
122 $TESTTMP/hgrc:2: ui.debug=true |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
123 $TESTTMP/hgrc:3: ui.fallbackencoding=ASCII |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
124 $TESTTMP/hgrc:4: ui.quiet=true |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
125 $TESTTMP/hgrc:5: ui.slash=true |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
126 $TESTTMP/hgrc:6: ui.traceback=true |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
127 $TESTTMP/hgrc:7: ui.verbose=true |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
128 $TESTTMP/hgrc:8: ui.style=~/.hgstyle |
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
129 $TESTTMP/hgrc:9: ui.logtemplate={node} |
10455
40dfd46d098f
ui: add HGPLAIN environment variable for easier scripting
Brodie Rao <me+hg@dackz.net>
parents:
10296
diff
changeset
|
130 |
12014 | 131 plain hgrc |
132 | |
133 $ HGPLAIN=; export HGPLAIN | |
12366
c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents:
12109
diff
changeset
|
134 $ hg showconfig --config ui.traceback=True --debug |
12640
6cc4b14fb76b
tests: remove redundant globs
Mads Kiilerich <mads@kiilerich.com>
parents:
12399
diff
changeset
|
135 read config from: $TESTTMP/hgrc |
12014 | 136 none: ui.traceback=True |
137 none: ui.verbose=False | |
138 none: ui.debug=True | |
139 none: ui.quiet=False | |
13849
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
140 |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
141 plain mode with exceptions |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
142 |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
143 $ cat > plain.py <<EOF |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
144 > def uisetup(ui): |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
145 > ui.write('plain: %r\n' % ui.plain()) |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
146 > EOF |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
147 $ echo "[extensions]" >> $HGRCPATH |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
148 $ echo "plain=./plain.py" >> $HGRCPATH |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
149 $ HGPLAINEXCEPT=; export HGPLAINEXCEPT |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
150 $ hg showconfig --config ui.traceback=True --debug |
14372
be0daa0eeb3e
ui: test plain mode against exceptions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
parents:
13849
diff
changeset
|
151 plain: True |
13849
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
152 read config from: $TESTTMP/hgrc |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
153 $TESTTMP/hgrc:15: extensions.plain=./plain.py |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
154 none: ui.traceback=True |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
155 none: ui.verbose=False |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
156 none: ui.debug=True |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
157 none: ui.quiet=False |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
158 $ unset HGPLAIN |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
159 $ hg showconfig --config ui.traceback=True --debug |
14372
be0daa0eeb3e
ui: test plain mode against exceptions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
parents:
13849
diff
changeset
|
160 plain: True |
13849
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
161 read config from: $TESTTMP/hgrc |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
162 $TESTTMP/hgrc:15: extensions.plain=./plain.py |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
163 none: ui.traceback=True |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
164 none: ui.verbose=False |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
165 none: ui.debug=True |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
166 none: ui.quiet=False |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
167 $ HGPLAINEXCEPT=i18n; export HGPLAINEXCEPT |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
168 $ hg showconfig --config ui.traceback=True --debug |
14372
be0daa0eeb3e
ui: test plain mode against exceptions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
parents:
13849
diff
changeset
|
169 plain: True |
13849
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
170 read config from: $TESTTMP/hgrc |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
171 $TESTTMP/hgrc:15: extensions.plain=./plain.py |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
172 none: ui.traceback=True |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
173 none: ui.verbose=False |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
174 none: ui.debug=True |
9f97de157aad
HGPLAIN: allow exceptions to plain mode, like i18n, via HGPLAINEXCEPT
Brodie Rao <brodie@bitheap.org>
parents:
13572
diff
changeset
|
175 none: ui.quiet=False |