Mercurial > hg
comparison mercurial/bundlerepo.py @ 28514:0747ef2c4ab2
chgserver: resolve relative path before sending via system channel
The chgserver may have a different cwd from the client because of the side
effect of "--cwd" and other possible os.chdir done by extensions. Therefore
relative paths can be misunderstood by the client.
This patch solves it by expanding relative cwd path to absolute one before
sending them via the 'S' channel. It can help chg to pass a testcase in
test-alias.t later.
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 14 Mar 2016 11:23:04 +0000 |
parents | 7a8c44844f57 |
children | ae53ecc47414 |
comparison
equal
deleted
inserted
replaced
28513:859af6e78368 | 28514:0747ef2c4ab2 |
---|