mercurial/tags.py
changeset 37084 f0b6fbea00cf
parent 36543 3e458c583d2c
child 41194 4c5864dad8b0
--- a/mercurial/tags.py	Thu Mar 22 21:19:31 2018 +0900
+++ b/mercurial/tags.py	Thu Mar 22 21:56:20 2018 +0900
@@ -28,6 +28,9 @@
     scmutil,
     util,
 )
+from .utils import (
+    stringutil,
+)
 
 # Tags computation can be expensive and caches exist to make it fast in
 # the common case.
@@ -783,6 +786,6 @@
         except (IOError, OSError) as inst:
             repo.ui.log('tagscache',
                         "couldn't write cache/%s: %s\n" % (
-                        _fnodescachefile, util.forcebytestr(inst)))
+                            _fnodescachefile, stringutil.forcebytestr(inst)))
         finally:
             lock.release()