comparison mercurial/sshpeer.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 5d77f571a563
children 89a2afe31e82
comparison
equal deleted inserted replaced
44866:5258bffdb1d6 44867:8e8fd938ca07
177 % (_serverquote(remotecmd), _serverquote(path)) 177 % (_serverquote(remotecmd), _serverquote(path))
178 ), 178 ),
179 ) 179 )
180 180
181 ui.debug(b'running %s\n' % cmd) 181 ui.debug(b'running %s\n' % cmd)
182 cmd = procutil.quotecommand(cmd)
183 182
184 # no buffer allow the use of 'select' 183 # no buffer allow the use of 'select'
185 # feel free to remove buffering and select usage when we ultimately 184 # feel free to remove buffering and select usage when we ultimately
186 # move to threading. 185 # move to threading.
187 stdin, stdout, stderr, proc = procutil.popen4(cmd, bufsize=0, env=sshenv) 186 stdin, stdout, stderr, proc = procutil.popen4(cmd, bufsize=0, env=sshenv)