D2270: py3: converts bytes to pycompat.bytestr to get bytechrs while enumerating
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Feb 14 08:43:08 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG80301c90a2dc: py3: converts bytes to pycompat.bytestr to get bytechrs while enumerating (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2270?vs=5710&id=5723
REVISION DETAIL
https://phab.mercurial-scm.org/D2270
AFFECTED FILES
mercurial/pure/base85.py
CHANGE DETAILS
diff --git a/mercurial/pure/base85.py b/mercurial/pure/base85.py
--- a/mercurial/pure/base85.py
+++ b/mercurial/pure/base85.py
@@ -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:
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list