equal
deleted
inserted
replaced
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 |