hgext/convert/cvs.py
changeset 44867 8e8fd938ca07
parent 44021 6d3b67a837a6
child 46819 d4ba4d51f85f
--- a/hgext/convert/cvs.py	Fri May 29 03:43:08 2020 +0200
+++ b/hgext/convert/cvs.py	Fri May 29 03:56:07 2020 +0200
@@ -226,8 +226,7 @@
                     cmd = [rsh, host] + cmd
 
             # popen2 does not support argument lists under Windows
-            cmd = [procutil.shellquote(arg) for arg in cmd]
-            cmd = procutil.quotecommand(b' '.join(cmd))
+            cmd = b' '.join(procutil.shellquote(arg) for arg in cmd)
             self.writep, self.readp = procutil.popen2(cmd)
 
         self.realroot = root