mercurial/chgserver.py
branchstable
changeset 35033 d3d35a55e03b
parent 34887 7bf7544fd6cc
child 35170 c9740b69b9b7
equal deleted inserted replaced
35032:cd235d6f851b 35033:d3d35a55e03b
   233 
   233 
   234     # load wd and repo config, copied from dispatch.py
   234     # load wd and repo config, copied from dispatch.py
   235     cwds = dispatch._earlygetopt(['--cwd'], args)
   235     cwds = dispatch._earlygetopt(['--cwd'], args)
   236     cwd = cwds and os.path.realpath(cwds[-1]) or None
   236     cwd = cwds and os.path.realpath(cwds[-1]) or None
   237     rpath = dispatch._earlygetopt(["-R", "--repository", "--repo"], args)
   237     rpath = dispatch._earlygetopt(["-R", "--repository", "--repo"], args)
       
   238     rpath = rpath and rpath[-1] or ''
   238     path, newlui = dispatch._getlocal(newui, rpath, wd=cwd)
   239     path, newlui = dispatch._getlocal(newui, rpath, wd=cwd)
   239 
   240 
   240     return (newui, newlui)
   241     return (newui, newlui)
   241 
   242 
   242 class channeledsystem(object):
   243 class channeledsystem(object):