convert: subversion should use util.quotecommand to wrap args to popen2

All other callers of util.popen2 and util.popen3 do this, as well as direct
callers of subprocess.Popen.
This commit is contained in:
Steve Borho 2010-12-22 13:25:00 -06:00
parent cd3b55bab4
commit 7b9494aa62

View File

@ -914,7 +914,7 @@ class svn_source(converter_source):
arg = encodeargs(args)
hgexe = util.hgexecutable()
cmd = '%s debugsvnlog' % util.shellquote(hgexe)
stdin, stdout = util.popen2(cmd)
stdin, stdout = util.popen2(util.quotecommand(cmd))
stdin.write(arg)
try:
stdin.close()