equal
deleted
inserted
replaced
269 for section, name, value in srcui.walkconfig(): |
269 for section, name, value in srcui.walkconfig(): |
270 source = srcui.configsource(section, name) |
270 source = srcui.configsource(section, name) |
271 if ':' in source or source == '--config': |
271 if ':' in source or source == '--config': |
272 # path:line or command line |
272 # path:line or command line |
273 continue |
273 continue |
274 if source == 'none': |
|
275 # ui.configsource returns 'none' by default |
|
276 source = '' |
|
277 newui.setconfig(section, name, value, source) |
274 newui.setconfig(section, name, value, source) |
278 |
275 |
279 # load wd and repo config, copied from dispatch.py |
276 # load wd and repo config, copied from dispatch.py |
280 cwds = dispatch._earlygetopt(['--cwd'], args) |
277 cwds = dispatch._earlygetopt(['--cwd'], args) |
281 cwd = cwds and os.path.realpath(cwds[-1]) or None |
278 cwd = cwds and os.path.realpath(cwds[-1]) or None |