##// END OF EJS Templates
py3: pass the memoryview object into bytes() to get the value
Pulkit Goyal -
r33106:2f812b0d default
parent child Browse files
Show More
@@ -1818,7 +1818,7 b' def debugrevlog(ui, repo, file_=None, **'
1818 # Obtain data on the raw chunks in the revlog.
1818 # Obtain data on the raw chunks in the revlog.
1819 segment = r._getsegmentforrevs(rev, rev)[1]
1819 segment = r._getsegmentforrevs(rev, rev)[1]
1820 if segment:
1820 if segment:
1821 chunktype = segment[0]
1821 chunktype = bytes(segment[0:1])
1822 else:
1822 else:
1823 chunktype = 'empty'
1823 chunktype = 'empty'
1824
1824
General Comments 0
You need to be logged in to leave comments. Login now