mercurial/debugcommands.py
changeset 33106 2f812b0d1936
parent 33102 1b6946f87c50
child 33107 e88fdec9cb9e
equal deleted inserted replaced
33105:a5e1393f61a2 33106:2f812b0d1936
  1816                 numother += 1
  1816                 numother += 1
  1817 
  1817 
  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 
  1825         if chunktype not in chunktypecounts:
  1825         if chunktype not in chunktypecounts:
  1826             chunktypecounts[chunktype] = 0
  1826             chunktypecounts[chunktype] = 0