# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-23 19:51:22 # Node ID 469c7e146c8f72a1ae5125caed777db6d1ba8c5a # Parent 6f6063553502adccf17284a9dc777ec7e1873135 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 diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1265,7 +1265,7 @@ class queue(object): 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():