Show More
@@ -530,7 +530,7 b' def _dispatch(req):' | |||||
530 |
|
530 | |||
531 | # read --config before doing anything else |
|
531 | # read --config before doing anything else | |
532 | # (e.g. to change trust settings for reading .hg/hgrc) |
|
532 | # (e.g. to change trust settings for reading .hg/hgrc) | |
533 | _parseconfig(ui, _earlygetopt(['--config'], args)) |
|
533 | cfgs = _parseconfig(ui, _earlygetopt(['--config'], args)) | |
534 |
|
534 | |||
535 | # check for cwd |
|
535 | # check for cwd | |
536 | cwd = _earlygetopt(['--cwd'], args) |
|
536 | cwd = _earlygetopt(['--cwd'], args) | |
@@ -602,6 +602,10 b' def _dispatch(req):' | |||||
602 | if req.repo: |
|
602 | if req.repo: | |
603 | uis.add(req.repo.ui) |
|
603 | uis.add(req.repo.ui) | |
604 |
|
604 | |||
|
605 | # copy configs that were passed on the cmdline (--config) to the repo ui | |||
|
606 | for cfg in cfgs: | |||
|
607 | req.repo.ui.setconfig(*cfg) | |||
|
608 | ||||
605 | for opt in ('verbose', 'debug', 'quiet', 'traceback'): |
|
609 | for opt in ('verbose', 'debug', 'quiet', 'traceback'): | |
606 | val = bool(options[opt]) |
|
610 | val = bool(options[opt]) | |
607 | if val: |
|
611 | if val: |
General Comments 0
You need to be logged in to leave comments.
Login now