mercurial/localrepo.py
changeset 37084 f0b6fbea00cf
parent 36952 b24cde12061b
child 37120 a8a902d7176e
--- 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.