mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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:
parent
cd3b55bab4
commit
7b9494aa62
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user