equal
deleted
inserted
replaced
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): |