##// END OF EJS Templates
py3: fix slicing of byte string in revlog.compress()...
Yuya Nishihara -
r31643:6ceb3c4c default
parent child Browse files
Show More
@@ -1488,7 +1488,7 b' class revlog(object):'
1488 # The revlog compressor added the header in the returned data.
1488 # The revlog compressor added the header in the returned data.
1489 return '', compressed
1489 return '', compressed
1490
1490
1491 if data[0] == '\0':
1491 if data[0:1] == '\0':
1492 return '', data
1492 return '', data
1493 return 'u', data
1493 return 'u', data
1494
1494
General Comments 0
You need to be logged in to leave comments. Login now