Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 20796:131f7fe06e9e
check-code: check for argument passing py2.6ism
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 19 Mar 2014 18:04:03 -0500 |
parents | f144928dd058 |
children | 9a09a625bc93 |
line wrap: on
line diff
--- a/mercurial/dispatch.py Wed Mar 19 16:21:53 2014 -0500 +++ b/mercurial/dispatch.py Wed Mar 19 18:04:03 2014 -0500 @@ -103,8 +103,8 @@ if req.repo: # copy configs that were passed on the cmdline (--config) to # the repo ui - for cfg in cfgs: - req.repo.ui.setconfig(*cfg, source='--config') + for sec, name, val in cfgs: + req.repo.ui.setconfig(sec, name, val, source='--config') # if we are in HGPLAIN mode, then disable custom debugging debugger = ui.config("ui", "debugger")