mercurial/revlogutils/debug.py
changeset 49260 7a18f6fc7e0c
parent 49259 fbb2477298a6
child 49261 7ba8adced391
equal deleted inserted replaced
49259:fbb2477298a6 49260:7a18f6fc7e0c
   119     field = entry[constants.ENTRY_DATA_OFFSET]
   119     field = entry[constants.ENTRY_DATA_OFFSET]
   120     field &= 0xFFFF
   120     field &= 0xFFFF
   121     return b"%d" % field
   121     return b"%d" % field
   122 
   122 
   123 
   123 
       
   124 @debug_column(b"comp-mode", size=4, verbose=True)
       
   125 def compression_mode(index, rev, entry, hexfn):
       
   126     return b"%d" % entry[constants.ENTRY_DATA_COMPRESSION_MODE]
       
   127 
       
   128 
   124 def debug_index(
   129 def debug_index(
   125     ui,
   130     ui,
   126     repo,
   131     repo,
   127     formatter,
   132     formatter,
   128     revlog,
   133     revlog,