Mercurial > hg
diff mercurial/copies.py @ 40076:2e9378f62232
py3: use '%f' for floats instead of '%s'
I remember Yuya saying we need to use bytestr() or '%r' because '%s' was clever.
Not sure it applies to this or not.
Differential Revision: https://phab.mercurial-scm.org/D4894
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Fri, 05 Oct 2018 23:31:51 +0300 |
parents | cf01616f8d96 |
children | 873f3682c8af |
line wrap: on
line diff
--- a/mercurial/copies.py Fri Oct 05 22:52:24 2018 +0300 +++ b/mercurial/copies.py Fri Oct 05 23:31:51 2018 +0300 @@ -212,7 +212,7 @@ dbg('debug.copies: rename of: %s\n' % ofctx._path) cm[f] = ofctx.path() if debug: - dbg('debug.copies: time: %s seconds\n' + dbg('debug.copies: time: %f seconds\n' % (util.timer() - start)) return cm