Mercurial > public > mercurial-scm > hg-stable
diff hgext/transplant.py @ 37123:a8a902d7176e
procutil: bulk-replace function calls to point to new module
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 24 Mar 2018 15:10:51 +0900 |
parents | f0b6fbea00cf |
children | 2a8939e25d07 |
line wrap: on
line diff
--- 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), },