Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 37087:f0b6fbea00cf
stringutil: bulk-replace call sites to point to new module
This might conflict with other patches floating around, sorry.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 22 Mar 2018 21:56:20 +0900 |
parents | ffa3026d4196 |
children | 71543b942eea |
line wrap: on
line diff
--- a/mercurial/hg.py Thu Mar 22 21:19:31 2018 +0900 +++ b/mercurial/hg.py Thu Mar 22 21:56:20 2018 +0900 @@ -48,6 +48,10 @@ vfs as vfsmod, ) +from .utils import ( + stringutil, +) + release = lock.release # shared features @@ -270,7 +274,7 @@ # ValueError is raised on Windows if the drive letters differ on # each path raise error.Abort(_('cannot calculate relative path'), - hint=util.forcebytestr(e)) + hint=stringutil.forcebytestr(e)) else: requirements += 'shared\n'