hgext/transplant.py
changeset 37120 a8a902d7176e
parent 37084 f0b6fbea00cf
child 37311 2a8939e25d07
--- a/hgext/transplant.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/hgext/transplant.py	Sat Mar 24 15:10:51 2018 +0900
@@ -39,6 +39,7 @@
     vfs as vfsmod,
 )
 from mercurial.utils import (
+    procutil,
     stringutil,
 )
 
@@ -271,8 +272,9 @@
         fp.close()
 
         try:
-            self.ui.system('%s %s %s' % (filter, util.shellquote(headerfile),
-                                         util.shellquote(patchfile)),
+            self.ui.system('%s %s %s' % (filter,
+                                         procutil.shellquote(headerfile),
+                                         procutil.shellquote(patchfile)),
                            environ={'HGUSER': changelog[1],
                                     'HGREVISION': nodemod.hex(node),
                                     },