changeset 27475 | a2e2a8fa5fd1 |
parent 27472 | 3dea4eae4eeb |
child 27637 | b502138f5faa |
--- a/mercurial/revlog.py Thu Dec 17 23:53:09 2015 +0900 +++ b/mercurial/revlog.py Sun Dec 20 16:00:27 2015 -0800 @@ -110,7 +110,7 @@ except zlib.error as e: raise RevlogError(_("revlog decompress error: %s") % str(e)) if t == 'u': - return bin[1:] + return util.buffer(bin, 1) raise RevlogError(_("unknown compression type %r") % t) # index v0: