Mercurial > hg
diff hgext/convert/p4.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 | c6061cadb400 |
children | a8a902d7176e |
line wrap: on
line diff
--- a/hgext/convert/p4.py Thu Mar 22 21:19:31 2018 +0900 +++ b/hgext/convert/p4.py Thu Mar 22 21:56:20 2018 +0900 @@ -14,7 +14,10 @@ error, util, ) -from mercurial.utils import dateutil +from mercurial.utils import ( + dateutil, + stringutil, +) from . import common @@ -169,7 +172,7 @@ shortdesc = '**empty changelist description**' t = '%s %s' % (c.rev, repr(shortdesc)[1:-1]) - ui.status(util.ellipsis(t, 80) + '\n') + ui.status(stringutil.ellipsis(t, 80) + '\n') files = [] copies = {}