Show More
@@ -2843,6 +2843,7 b' def debugrevlog(ui, repo, file_=None, **' | |||
|
2843 | 2843 | deltasize[2] /= numrevs - numfull |
|
2844 | 2844 | totalsize = fulltotal + deltatotal |
|
2845 | 2845 | avgchainlen = sum(chainlengths) / numrevs |
|
2846 | maxchainlen = max(chainlengths) | |
|
2846 | 2847 | compratio = totalrawsize / totalsize |
|
2847 | 2848 | |
|
2848 | 2849 | basedfmtstr = '%%%dd\n' |
@@ -2875,6 +2876,7 b' def debugrevlog(ui, repo, file_=None, **' | |||
|
2875 | 2876 | ui.write('\n') |
|
2876 | 2877 | fmt = dfmtstr(max(avgchainlen, compratio)) |
|
2877 | 2878 | ui.write(('avg chain length : ') + fmt % avgchainlen) |
|
2879 | ui.write(('max chain length : ') + fmt % maxchainlen) | |
|
2878 | 2880 | ui.write(('compression ratio : ') + fmt % compratio) |
|
2879 | 2881 | |
|
2880 | 2882 | if format > 0: |
General Comments 0
You need to be logged in to leave comments.
Login now