changeset 13190:5314cbb775f6

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.
author Steve Borho <steve@borho.org>
date Wed, 22 Dec 2010 13:25:00 -0600
parents f5be619663f9
children 1aea66b71f4f
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Thu Dec 23 13:23:20 2010 -0600
+++ b/hgext/convert/subversion.py	Wed Dec 22 13:25:00 2010 -0600
@@ -914,7 +914,7 @@
         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()