Show More
@@ -849,7 +849,7 b' def _parseconfig(ui, config):' | |||
|
849 | 849 | ui.setconfig(section, name, value, b'--config') |
|
850 | 850 | configs.append((section, name, value)) |
|
851 | 851 | except (IndexError, ValueError): |
|
852 |
raise error. |
|
|
852 | raise error.InputError( | |
|
853 | 853 | _( |
|
854 | 854 | b'malformed --config option: %r ' |
|
855 | 855 | b'(use --config section.name=value)' |
@@ -217,19 +217,19 b' Testing --config:' | |||
|
217 | 217 | quuxfoo |
|
218 | 218 | $ hg --cwd c --config '' tip -q |
|
219 | 219 | abort: malformed --config option: '' (use --config section.name=value) |
|
220 |
[ |
|
|
220 | [10] | |
|
221 | 221 | $ hg --cwd c --config a.b tip -q |
|
222 | 222 | abort: malformed --config option: 'a.b' (use --config section.name=value) |
|
223 |
[ |
|
|
223 | [10] | |
|
224 | 224 | $ hg --cwd c --config a tip -q |
|
225 | 225 | abort: malformed --config option: 'a' (use --config section.name=value) |
|
226 |
[ |
|
|
226 | [10] | |
|
227 | 227 | $ hg --cwd c --config a.= tip -q |
|
228 | 228 | abort: malformed --config option: 'a.=' (use --config section.name=value) |
|
229 |
[ |
|
|
229 | [10] | |
|
230 | 230 | $ hg --cwd c --config .b= tip -q |
|
231 | 231 | abort: malformed --config option: '.b=' (use --config section.name=value) |
|
232 |
[ |
|
|
232 | [10] | |
|
233 | 233 | |
|
234 | 234 | Testing --debug: |
|
235 | 235 |
General Comments 0
You need to be logged in to leave comments.
Login now