mercurial/chgserver.py
changeset 30618 201b44c8875c
parent 30587 b3643bfc7fcb
child 30619 88efb4fb1975
equal deleted inserted replaced
30617:32a07b8a9f77 30618:201b44c8875c
   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