Mercurial > hg
diff mercurial/tags.py @ 37084: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 | 3e458c583d2c |
children | 4c5864dad8b0 |
line wrap: on
line diff
--- 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()