mercurial/revlogutils/debug.py
changeset 49257 b0238fc496af
parent 49256 d910ca4e995b
child 49258 f6ef18be36e1
equal deleted inserted replaced
49256:d910ca4e995b 49257:b0238fc496af
   102     parent = entry[constants.ENTRY_PARENT_2]
   102     parent = entry[constants.ENTRY_PARENT_2]
   103     p_entry = index[parent]
   103     p_entry = index[parent]
   104     return hexfn(p_entry[constants.ENTRY_NODE_ID])
   104     return hexfn(p_entry[constants.ENTRY_NODE_ID])
   105 
   105 
   106 
   106 
       
   107 @debug_column(b"full-size", size=20, verbose=True)
       
   108 def full_size(index, rev, entry, hexfn):
       
   109     return b"%d" % entry[constants.ENTRY_DATA_UNCOMPRESSED_LENGTH]
       
   110 
       
   111 
   107 def debug_index(
   112 def debug_index(
   108     ui,
   113     ui,
   109     repo,
   114     repo,
   110     formatter,
   115     formatter,
   111     revlog,
   116     revlog,