diff mercurial/revlog.py @ 1853:5ac811b720de

Fix some problems when working on broken repositories: Fix tracebacks in hg verify for certain repo errors. Print compression type byte encoded safely.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 08 Mar 2006 00:27:23 +0100
parents 2e0a288ca93e
children 7518823709a2
line wrap: on
line diff
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -48,7 +48,7 @@ def decompress(bin):
     if t == '\0': return bin
     if t == 'x': return zlib.decompress(bin)
     if t == 'u': return bin[1:]
-    raise RevlogError(_("unknown compression type %s") % t)
+    raise RevlogError(_("unknown compression type %r") % t)
 
 indexformat = ">4l20s20s20s"