Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 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 | a8e55d6f1d67 |
children | 4eb75c86368b |
line wrap: on
line diff