hgext/lfs/blobstore.py
branchstable
changeset 49526 192949b68159
parent 48946 642e31cb55f0
child 49532 250d9c8aaf10
child 49543 abf471862b8e
--- a/hgext/lfs/blobstore.py	Wed Oct 19 17:00:03 2022 +0400
+++ b/hgext/lfs/blobstore.py	Thu Oct 20 12:05:17 2022 -0400
@@ -170,7 +170,7 @@
             # the localstore, because it's not going to match the expected.
             if content_length is not None and int(content_length) != size:
                 msg = (
-                    b"Response length (%s) does not match Content-Length "
+                    b"Response length (%d) does not match Content-Length "
                     b"header (%d): likely server-side crash"
                 )
                 raise LfsRemoteError(_(msg) % (size, int(content_length)))