[Updated] D11060: windows: use abspath in chgserver
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Fri Jul 16 09:21:03 UTC 2021
Closed by commit rHG227bbb078c2c: windows: use abspath in chgserver (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11060?vs=29118&id=29306
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11060/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11060
AFFECTED FILES
mercurial/chgserver.py
CHANGE DETAILS
diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py
--- a/mercurial/chgserver.py
+++ b/mercurial/chgserver.py
@@ -320,7 +320,7 @@
self.channel = channel
def __call__(self, cmd, environ, cwd=None, type=b'system', cmdtable=None):
- args = [type, cmd, os.path.abspath(cwd or b'.')]
+ args = [type, cmd, util.abspath(cwd or b'.')]
args.extend(b'%s=%s' % (k, v) for k, v in pycompat.iteritems(environ))
data = b'\0'.join(args)
self.out.write(struct.pack(b'>cI', self.channel, len(data)))
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210716/c5605999/attachment-0002.html>
More information about the Mercurial-patches
mailing list