mercurial/debugcommands.py
changeset 33106 2f812b0d1936
parent 33102 1b6946f87c50
child 33107 e88fdec9cb9e
--- a/mercurial/debugcommands.py	Mon Jun 26 17:23:10 2017 +0530
+++ b/mercurial/debugcommands.py	Mon Jun 26 23:57:49 2017 +0530
@@ -1818,7 +1818,7 @@
         # Obtain data on the raw chunks in the revlog.
         segment = r._getsegmentforrevs(rev, rev)[1]
         if segment:
-            chunktype = segment[0]
+            chunktype = bytes(segment[0:1])
         else:
             chunktype = 'empty'