mercurial/revlogutils/constants.py
changeset 47253 b876f0bf7366
parent 47251 6bfa6c2c5f15
child 47255 ff9fd7107d11
equal deleted inserted replaced
47252:e340b556a13e 47253:b876f0bf7366
   117 
   117 
   118 ## chunk compression mode constants:
   118 ## chunk compression mode constants:
   119 # These constants are used in revlog version >=2 to denote the compression used
   119 # These constants are used in revlog version >=2 to denote the compression used
   120 # for a chunk.
   120 # for a chunk.
   121 
   121 
       
   122 # Chunk use no compression, the data stored on disk can be directly use as
       
   123 # chunk value. Without any header information prefixed.
       
   124 COMP_MODE_PLAIN = 0
       
   125 
   122 # Chunk use a compression mode stored "inline" at the start of the chunk
   126 # Chunk use a compression mode stored "inline" at the start of the chunk
   123 # itself.  This is the mode always used for revlog version "0" and "1"
   127 # itself.  This is the mode always used for revlog version "0" and "1"
   124 COMP_MODE_INLINE = 2
   128 COMP_MODE_INLINE = 2
   125 
   129 
   126 SUPPORTED_FLAGS = {
   130 SUPPORTED_FLAGS = {