Mercurial > public > mercurial-scm > hg
diff hgext/githelp.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 | 257f3651ada9 |
children | 764ada920db5 |
line wrap: on
line diff
--- a/hgext/githelp.py Sat Mar 24 15:09:33 2018 +0900 +++ b/hgext/githelp.py Sat Mar 24 15:10:51 2018 +0900 @@ -26,7 +26,9 @@ error, fancyopts, registrar, - util, +) +from mercurial.utils import ( + procutil, ) # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for @@ -625,7 +627,7 @@ cmd['-0'] = None cmd.append('.') for include in args: - cmd['-I'] = util.shellquote(include) + cmd['-I'] = procutil.shellquote(include) ui.status((bytes(cmd)), "\n")