changeset 40077: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 ad8d8dc9be3f
children daff528e00d7
files mercurial/copies.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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