Mercurial > public > mercurial-scm > hg-stable
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 Tue Mar 07 22:41:24 2006 +0100 +++ b/mercurial/revlog.py Wed Mar 08 00:27:23 2006 +0100 @@ -48,7 +48,7 @@ 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"