mercurial/revlogutils/debug.py
changeset 49262 4c145006b24a
parent 49261 7ba8adced391
child 49263 27583efef74d
--- a/mercurial/revlogutils/debug.py	Wed Jun 01 01:33:13 2022 +0200
+++ b/mercurial/revlogutils/debug.py	Wed Jun 01 01:33:36 2022 +0200
@@ -133,6 +133,11 @@
     return b"%d" % field
 
 
+@debug_column(b"chunk-size", size=10, verbose=True)
+def data_chunk_size(index, rev, entry, hexfn):
+    return b"%d" % entry[constants.ENTRY_DATA_COMPRESSED_LENGTH]
+
+
 def debug_index(
     ui,
     repo,