py3: converts bytes to pycompat.bytestr to get bytechrs while enumerating
Differential Revision: https://phab.mercurial-scm.org/D2270
--- a/mercurial/pure/base85.py Wed Feb 14 17:42:14 2018 +0530
+++ b/mercurial/pure/base85.py Wed Feb 14 17:44:19 2018 +0530
@@ -53,6 +53,7 @@
out = []
for i in range(0, len(text), 5):
chunk = text[i:i + 5]
+ chunk = pycompat.bytestr(chunk)
acc = 0
for j, c in enumerate(chunk):
try: