# HG changeset patch # User Gregory Szorc # Date 2019-01-23 02:25:34 # Node ID 3d685ddf6b649babb0c9cf75cd55610592ec23d5 # Parent abac73eedd4d71d53c093ef28e97f5c5142b8bdd remotefilelog: use %d to format an int Differential Revision: https://phab.mercurial-scm.org/D5656 diff --git a/hgext/remotefilelog/basepack.py b/hgext/remotefilelog/basepack.py --- a/hgext/remotefilelog/basepack.py +++ b/hgext/remotefilelog/basepack.py @@ -270,9 +270,9 @@ class versionmixin(object): # 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