py3: use "%d" for integers instead of "%s"
util.parsedate() returns a tuple of integers. Writing this patch, I wish we had
some type hinting.
Differential Revision: https://phab.mercurial-scm.org/D2412
--- a/hgext/mq.py Sat Feb 24 01:20:20 2018 +0530
+++ b/hgext/mq.py Sat Feb 24 01:21:22 2018 +0530
@@ -1265,7 +1265,7 @@
if user:
ph.setuser(user)
if date:
- ph.setdate('%s %s' % date)
+ ph.setdate('%d %d' % date)
ph.setparent(hex(nctx.p1().node()))
msg = nctx.description().strip()
if msg == defaultmsg.strip():