equal
deleted
inserted
replaced
277 section, name = name.split('.', 1) |
277 section, name = name.split('.', 1) |
278 if not section or not name: |
278 if not section or not name: |
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: %s') % cfg) |
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). |
286 |
287 |
287 The values are listed in the order they appear in args. |
288 The values are listed in the order they appear in args. |