py3: use '%d' instead of '%s' for ints
Differential Revision: https://phab.mercurial-scm.org/D2514
--- a/hgext/hgk.py Thu Mar 01 03:56:41 2018 +0530
+++ b/hgext/hgk.py Thu Mar 01 23:51:32 2018 +0530
@@ -146,7 +146,7 @@
date = ctx.date()
description = ctx.description().replace("\0", "")
- ui.write(("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1])))
+ ui.write(("author %s %d %d\n" % (ctx.user(), int(date[0]), date[1])))
if 'committer' in ctx.extra():
ui.write(("committer %s\n" % ctx.extra()['committer']))