Mercurial > hg
diff mercurial/chgserver.py @ 44867:8e8fd938ca07
cleanup: eliminate procutil.quotecommand()
After some compatibility code was removed, the function was the identity
function on all platforms.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Fri, 29 May 2020 03:56:07 +0200 |
parents | d37975386798 |
children | 3862de62d5cf |
line wrap: on
line diff
--- a/mercurial/chgserver.py Fri May 29 03:43:08 2020 +0200 +++ b/mercurial/chgserver.py Fri May 29 03:56:07 2020 +0200 @@ -320,7 +320,7 @@ self.channel = channel def __call__(self, cmd, environ, cwd=None, type=b'system', cmdtable=None): - args = [type, procutil.quotecommand(cmd), os.path.abspath(cwd or b'.')] + args = [type, cmd, os.path.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)))