Mercurial > public > mercurial-scm > hg
diff mercurial/commands.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 | 704932ef8913 |
children | 6f570c501e3e |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Mar 24 15:09:33 2018 +0900 +++ b/mercurial/commands.py Sat Mar 24 15:10:51 2018 +0900 @@ -63,6 +63,7 @@ ) from .utils import ( dateutil, + procutil, stringutil, ) @@ -2316,9 +2317,9 @@ repo.vfs.write('graftstate', ''.join(nodelines)) extra = '' if opts.get('user'): - extra += ' --user %s' % util.shellquote(opts['user']) + extra += ' --user %s' % procutil.shellquote(opts['user']) if opts.get('date'): - extra += ' --date %s' % util.shellquote(opts['date']) + extra += ' --date %s' % procutil.shellquote(opts['date']) if opts.get('log'): extra += ' --log' hint=_("use 'hg resolve' and 'hg graft --continue%s'") % extra