changeset 41324:3d685ddf6b64

remotefilelog: use %d to format an int Differential Revision: https://phab.mercurial-scm.org/D5656
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 22 Jan 2019 18:25:34 -0800
parents abac73eedd4d
children eff0a7d3229c
files hgext/remotefilelog/basepack.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/remotefilelog/basepack.py	Tue Jan 22 18:24:52 2019 -0800
+++ b/hgext/remotefilelog/basepack.py	Tue Jan 22 18:25:34 2019 -0800
@@ -270,9 +270,9 @@
                 # only affect this instance
                 self.VERSION = version
             elif self.VERSION != version:
-                raise RuntimeError('inconsistent version: %s' % version)
+                raise RuntimeError('inconsistent version: %d' % version)
         else:
-            raise RuntimeError('unsupported version: %s' % version)
+            raise RuntimeError('unsupported version: %d' % version)
 
 class basepack(versionmixin):
     # The maximum amount we should read via mmap before remmaping so the old