174 --config: ui.traceback=True |
174 --config: ui.traceback=True |
175 --verbose: ui.verbose=False |
175 --verbose: ui.verbose=False |
176 --debug: ui.debug=True |
176 --debug: ui.debug=True |
177 --quiet: ui.quiet=False |
177 --quiet: ui.quiet=False |
178 |
178 |
|
179 with environment variables |
|
180 |
|
181 $ PAGER=p1 EDITOR=e1 VISUAL=e2 hg showconfig --debug |
|
182 set config by: $EDITOR |
|
183 set config by: $VISUAL |
|
184 set config by: $PAGER |
|
185 read config from: $TESTTMP/hgrc |
|
186 repo: bundle.mainreporoot=$TESTTMP |
|
187 $PAGER: pager.pager=p1 |
|
188 $VISUAL: ui.editor=e2 |
|
189 --verbose: ui.verbose=False |
|
190 --debug: ui.debug=True |
|
191 --quiet: ui.quiet=False |
|
192 |
179 plain mode with exceptions |
193 plain mode with exceptions |
180 |
194 |
181 $ cat > plain.py <<EOF |
195 $ cat > plain.py <<EOF |
182 > from mercurial import commands, extensions |
196 > from mercurial import commands, extensions |
183 > def _config(orig, ui, repo, *values, **opts): |
197 > def _config(orig, ui, repo, *values, **opts): |