Show More
@@ -279,7 +279,8 b' def _parseconfig(ui, config):' | |||||
279 | raise IndexError |
|
279 | raise IndexError | |
280 | ui.setconfig(section, name, value) |
|
280 | ui.setconfig(section, name, value) | |
281 | except (IndexError, ValueError): |
|
281 | except (IndexError, ValueError): | |
282 |
raise util.Abort(_('malformed --config option: % |
|
282 | raise util.Abort(_('malformed --config option: %r ' | |
|
283 | '(use --config section.name=value)') % cfg) | |||
283 |
|
284 | |||
284 | def _earlygetopt(aliases, args): |
|
285 | def _earlygetopt(aliases, args): | |
285 | """Return list of values for an option (or aliases). |
|
286 | """Return list of values for an option (or aliases). |
@@ -107,11 +107,11 b' b' | |||||
107 |
|
107 | |||
108 | %% --config |
|
108 | %% --config | |
109 | quuxfoo |
|
109 | quuxfoo | |
110 | abort: malformed --config option: |
|
110 | abort: malformed --config option: '' (use --config section.name=value) | |
111 | abort: malformed --config option: a.b |
|
111 | abort: malformed --config option: 'a.b' (use --config section.name=value) | |
112 | abort: malformed --config option: a |
|
112 | abort: malformed --config option: 'a' (use --config section.name=value) | |
113 | abort: malformed --config option: a.= |
|
113 | abort: malformed --config option: 'a.=' (use --config section.name=value) | |
114 | abort: malformed --config option: .b= |
|
114 | abort: malformed --config option: '.b=' (use --config section.name=value) | |
115 | %% --debug |
|
115 | %% --debug | |
116 | changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a |
|
116 | changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a | |
117 | tag: tip |
|
117 | tag: tip |
General Comments 0
You need to be logged in to leave comments.
Login now