mercurial/debugcommands.py
changeset 33062 e21b750c9b9e
parent 33057 03eefca3ed33
child 33100 05906b8e1d23
--- a/mercurial/debugcommands.py	Fri Jun 23 17:19:29 2017 +0200
+++ b/mercurial/debugcommands.py	Mon Jun 26 22:27:34 2017 +0900
@@ -1885,10 +1885,10 @@
         ui.write(fmt % pcfmt(chunktypesizes[chunktype], totalsize))
 
     ui.write('\n')
-    fmt = dfmtstr(max(avgchainlen, compratio))
+    fmt = dfmtstr(max(avgchainlen, maxchainlen, maxchainspan, compratio))
     ui.write(('avg chain length  : ') + fmt % avgchainlen)
     ui.write(('max chain length  : ') + fmt % maxchainlen)
-    ui.write(('max chain reach  : ') + fmt % maxchainspan)
+    ui.write(('max chain reach   : ') + fmt % maxchainspan)
     ui.write(('compression ratio : ') + fmt % compratio)
 
     if format > 0: