Mercurial > hg
diff hgext/convert/cvs.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 | 6d3b67a837a6 |
children | d4ba4d51f85f |
line wrap: on
line diff
--- 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