equal
deleted
inserted
replaced
1882 ui.write((' deltas : ') + fmt % pcfmt(deltatotal, totalsize)) |
1882 ui.write((' deltas : ') + fmt % pcfmt(deltatotal, totalsize)) |
1883 |
1883 |
1884 def fmtchunktype(chunktype): |
1884 def fmtchunktype(chunktype): |
1885 if chunktype == 'empty': |
1885 if chunktype == 'empty': |
1886 return ' %s : ' % chunktype |
1886 return ' %s : ' % chunktype |
1887 elif chunktype in string.ascii_letters: |
1887 elif chunktype in pycompat.bytestr(string.ascii_letters): |
1888 return ' 0x%s (%s) : ' % (hex(chunktype), chunktype) |
1888 return ' 0x%s (%s) : ' % (hex(chunktype), chunktype) |
1889 else: |
1889 else: |
1890 return ' 0x%s : ' % hex(chunktype) |
1890 return ' 0x%s : ' % hex(chunktype) |
1891 |
1891 |
1892 ui.write('\n') |
1892 ui.write('\n') |