Mercurial > hg-stable
changeset 31648:6ceb3c4c3ab6
py3: fix slicing of byte string in revlog.compress()
I tried .startswith('\0'), but data wasn't always a bytes nor a bytearray.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 26 Mar 2017 17:12:06 +0900 |
parents | addc392cc3d3 |
children | f80d9ddc40f3 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff