mercurial/revlogutils/debug.py
changeset 49275 7a18f6fc7e0c
parent 49274 fbb2477298a6
child 49276 7ba8adced391
--- a/mercurial/revlogutils/debug.py	Wed Jun 01 01:33:25 2022 +0200
+++ b/mercurial/revlogutils/debug.py	Wed Jun 01 01:33:47 2022 +0200
@@ -121,6 +121,11 @@
     return b"%d" % field
 
 
+@debug_column(b"comp-mode", size=4, verbose=True)
+def compression_mode(index, rev, entry, hexfn):
+    return b"%d" % entry[constants.ENTRY_DATA_COMPRESSION_MODE]
+
+
 def debug_index(
     ui,
     repo,