Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.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 | b24cde12061b |
children | a8a902d7176e |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Mar 22 21:19:31 2018 +0900 +++ b/mercurial/localrepo.py Thu Mar 22 21:56:20 2018 +0900 @@ -64,6 +64,9 @@ util, vfs as vfsmod, ) +from .utils import ( + stringutil, +) release = lockmod.release urlerr = util.urlerr @@ -263,7 +266,7 @@ raise except error.PushRaced as exc: raise error.ResponseError(_('push failed:'), - util.forcebytestr(exc)) + stringutil.forcebytestr(exc)) # End of _basewirecommands interface.