D7261: pvec: fix overlooked chr() call
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Nov 7 08:31:15 UTC 2019
Closed by commit rHG271af23d01a9: pvec: fix overlooked chr() call (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7261?vs=17631&id=17678
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7261/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7261
AFFECTED FILES
mercurial/pvec.py
CHANGE DETAILS
diff --git a/mercurial/pvec.py b/mercurial/pvec.py
--- a/mercurial/pvec.py
+++ b/mercurial/pvec.py
@@ -76,7 +76,7 @@
def _str(v, l):
bs = b""
for p in pycompat.xrange(l):
- bs = chr(v & 255) + bs
+ bs = pycompat.bytechr(v & 255) + bs
v >>= 8
return bs
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list