##// END OF EJS Templates
chgserver: move args copying logic to the correct place...
Jun Wu -
r28767:73bfd9a5 default
parent child Browse files
Show More
@@ -279,6 +279,7 b' def _loadnewui(srcui, args):'
279 279 srcui.config('extensions', 'chgserver'), '--config')
280 280
281 281 # command line args
282 args = args[:]
282 283 dispatch._parseconfig(newui, dispatch._earlygetopt(['--config'], args))
283 284
284 285 # stolen from tortoisehg.util.copydynamicconfig()
@@ -293,7 +294,6 b' def _loadnewui(srcui, args):'
293 294 newui.setconfig(section, name, value, source)
294 295
295 296 # load wd and repo config, copied from dispatch.py
296 args = args[:]
297 297 cwds = dispatch._earlygetopt(['--cwd'], args)
298 298 cwd = cwds and os.path.realpath(cwds[-1]) or None
299 299 rpath = dispatch._earlygetopt(["-R", "--repository", "--repo"], args)
General Comments 0
You need to be logged in to leave comments. Login now