mercurial/revlogutils/debug.py
changeset 49265 30d2beab8163
parent 49264 e3a267a93711
child 49266 da3e37ecacde
--- a/mercurial/revlogutils/debug.py	Wed Jun 01 01:34:21 2022 +0200
+++ b/mercurial/revlogutils/debug.py	Wed Jun 01 01:34:33 2022 +0200
@@ -156,6 +156,11 @@
     return b"%d" % entry[constants.ENTRY_SIDEDATA_OFFSET]
 
 
+@debug_column(b"sd-chunk-size", size=10, verbose=True)
+def sidedata_chunk_size(index, rev, entry, hexfn):
+    return b"%d" % entry[constants.ENTRY_SIDEDATA_COMPRESSED_LENGTH]
+
+
 def debug_index(
     ui,
     repo,