diff -r 197204dba8a2 -r 149f09ffef46 mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Thu Feb 23 23:05:51 2023 +0100 +++ b/mercurial/bundlerepo.py Fri Feb 24 03:03:54 2023 +0100 @@ -326,7 +326,7 @@ self._handle_bundle1(bundle, bundlepath) else: raise error.Abort( - _(b'bundle type %s cannot be read') % type(bundle) + _(b'bundle type %r cannot be read') % type(bundle) ) def _handle_bundle1(self, bundle, bundlepath):