mercurial/debugcommands.py
changeset 32229 75e93d95aae6
parent 32209 85dc5a25f1fc
child 32256 9bc36198338e
equal deleted inserted replaced
32228:112ba1c7d65d 32229:75e93d95aae6
  1705                 nump2 += 1
  1705                 nump2 += 1
  1706             elif delta != nullrev:
  1706             elif delta != nullrev:
  1707                 numother += 1
  1707                 numother += 1
  1708 
  1708 
  1709         # Obtain data on the raw chunks in the revlog.
  1709         # Obtain data on the raw chunks in the revlog.
  1710         chunk = r._chunkraw(rev, rev)[1]
  1710         segment = r._getsegmentforrevs(rev, rev)[1]
  1711         if chunk:
  1711         if segment:
  1712             chunktype = chunk[0]
  1712             chunktype = segment[0]
  1713         else:
  1713         else:
  1714             chunktype = 'empty'
  1714             chunktype = 'empty'
  1715 
  1715 
  1716         if chunktype not in chunktypecounts:
  1716         if chunktype not in chunktypecounts:
  1717             chunktypecounts[chunktype] = 0
  1717             chunktypecounts[chunktype] = 0