py3: use '%f' for floats instead of '%s'
authorPulkit Goyal <pulkit@yandex-team.ru>
Fri, 05 Oct 2018 23:31:51 +0300
changeset 40076 2e9378f62232
parent 40075 ad8d8dc9be3f
child 40077 daff528e00d7
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
mercurial/copies.py
--- 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