# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1486490137 -19800 # Node ID a0e3d808690d57d1c9dff840e0b8ee099526397b # Parent 441705506d2458e960437c8613eed7fb9e744f38 py3: fix the way we produce bytes list in store.py bytes(range(127)) does not produce a list whereas we need a list. This patch fixes that. diff -r 441705506d24 -r a0e3d808690d mercurial/store.py --- a/mercurial/store.py Tue Feb 07 22:47:24 2017 +0530 +++ b/mercurial/store.py Tue Feb 07 23:25:37 2017 +0530 @@ -101,7 +101,7 @@ e = '_' if pycompat.ispy3: xchr = lambda x: bytes([x]) - asciistr = bytes(xrange(127)) + asciistr = [bytes(a) for a in range(127)] else: xchr = chr asciistr = map(chr, xrange(127))