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

login
register
mail settings
Submitter phabricator
Date Feb. 13, 2018, 5:15 p.m.
Message ID <9a0ee73ba0ebf2a766ddb5733d2de9ed@localhost.localdomain>
Download mbox | patch
Permalink /patch/27833/
State Not Applicable
Headers show

Comments

phabricator - Feb. 13, 2018, 5:15 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG72d155a792b1: debugcommands: mergestate version is an int, use %d on it (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2227?vs=5633&id=5640

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

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
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: