hgext/convert/subversion.py
changeset 37120 a8a902d7176e
parent 37084 f0b6fbea00cf
child 38068 c560a4ea6dac
--- a/hgext/convert/subversion.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/hgext/convert/subversion.py	Sat Mar 24 15:10:51 2018 +0900
@@ -18,6 +18,7 @@
 )
 from mercurial.utils import (
     dateutil,
+    procutil,
     stringutil,
 )
 
@@ -1069,9 +1070,9 @@
         if not self.ui.configbool('convert', 'svn.debugsvnlog'):
             return directlogstream(*args)
         arg = encodeargs(args)
-        hgexe = util.hgexecutable()
-        cmd = '%s debugsvnlog' % util.shellquote(hgexe)
-        stdin, stdout = util.popen2(util.quotecommand(cmd))
+        hgexe = procutil.hgexecutable()
+        cmd = '%s debugsvnlog' % procutil.shellquote(hgexe)
+        stdin, stdout = procutil.popen2(procutil.quotecommand(cmd))
         stdin.write(arg)
         try:
             stdin.close()