From patchwork Thu Mar 1 19:15:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2514: py3: use '%d' instead of '%s' for ints From: phabricator X-Patchwork-Id: 28578 Message-Id: <3b3d43a0e673796f373e02b77c0beb31@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 1 Mar 2018 19:15:25 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG1c4247b0040a: py3: use '%d' instead of '%s' for ints (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2514?vs=6260&id=6269 REVISION DETAIL https://phab.mercurial-scm.org/D2514 AFFECTED FILES hgext/hgk.py CHANGE DETAILS To: pulkit, #hg-reviewers, durin42 Cc: mercurial-devel diff --git a/hgext/hgk.py b/hgext/hgk.py --- a/hgext/hgk.py +++ b/hgext/hgk.py @@ -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']))