lock: delay is numeric, use %d for formatting
Differential Revision: https://phab.mercurial-scm.org/D2347
--- a/mercurial/lock.py Sun Feb 18 15:23:26 2018 -0500
+++ b/mercurial/lock.py Sun Feb 18 15:38:29 2018 -0500
@@ -84,9 +84,9 @@
l.delay = delay
if l.delay:
if 0 <= warningidx <= l.delay:
- ui.warn(_("got lock after %s seconds\n") % l.delay)
+ ui.warn(_("got lock after %d seconds\n") % l.delay)
else:
- ui.debug("got lock after %s seconds\n" % l.delay)
+ ui.debug("got lock after %d seconds\n" % l.delay)
if l.acquirefn:
l.acquirefn()
return l