changeset 37084 | f0b6fbea00cf |
parent 36781 | ffa3026d4196 |
child 37107 | 71543b942eea |
--- 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'