--- 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),
},