D2412: py3: use "%d" for integers instead of "%s"

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Feb 24 05:43:22 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG469c7e146c8f: py3: use "%d" for integers instead of "%s" (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2412?vs=6031&id=6036

REVISION DETAIL
  https://phab.mercurial-scm.org/D2412

AFFECTED FILES
  hgext/mq.py

CHANGE DETAILS

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -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():



To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list