--- a/mercurial/utils/procutil.py Fri May 29 03:43:08 2020 +0200
+++ b/mercurial/utils/procutil.py Fri May 29 03:56:07 2020 +0200
@@ -73,7 +73,6 @@
getuser = platform.getuser
getpid = os.getpid
hidewindow = platform.hidewindow
-quotecommand = platform.quotecommand
readpipe = platform.readpipe
setbinary = platform.setbinary
setsignalhandler = platform.setsignalhandler
@@ -138,7 +137,7 @@
def _popenreader(cmd, bufsize):
p = subprocess.Popen(
- tonativestr(quotecommand(cmd)),
+ tonativestr(cmd),
shell=True,
bufsize=bufsize,
close_fds=closefds,
@@ -149,7 +148,7 @@
def _popenwriter(cmd, bufsize):
p = subprocess.Popen(
- tonativestr(quotecommand(cmd)),
+ tonativestr(cmd),
shell=True,
bufsize=bufsize,
close_fds=closefds,
@@ -395,7 +394,6 @@
stdout.flush()
except Exception:
pass
- cmd = quotecommand(cmd)
env = shellenviron(environ)
if out is None or isstdout(out):
rc = subprocess.call(