Mercurial > hg
diff hgext/convert/subversion.py @ 37120: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 | c560a4ea6dac |
line wrap: on
line diff
--- 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()