mercurial/chgserver.py
changeset 44867 8e8fd938ca07
parent 44629 d37975386798
child 45035 3862de62d5cf
--- 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)))