Patchwork D2227: debugcommands: mergestate version is an int, use %d on it

login
register
mail settings
Submitter phabricator
Date Feb. 13, 2018, 4:13 p.m.
Message ID <differential-rev-PHID-DREV-p4xeilywxdo4ycsp7sdi-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/27826/
State Superseded
Headers show

Comments

phabricator - Feb. 13, 2018, 4:13 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1406,7 +1406,7 @@ 
             return h
 
     def printrecords(version):
-        ui.write(('* version %s records\n') % version)
+        ui.write(('* version %d records\n') % version)
         if version == 1:
             records = v1records
         else: