mercurial/revlogutils/constants.py
changeset 46704 913485776542
parent 45671 2d6aea053153
child 46819 d4ba4d51f85f
equal deleted inserted replaced
46677:7ed7b13fc00a 46704:913485776542
    13 
    13 
    14 # revlog header flags
    14 # revlog header flags
    15 REVLOGV0 = 0
    15 REVLOGV0 = 0
    16 REVLOGV1 = 1
    16 REVLOGV1 = 1
    17 # Dummy value until file format is finalized.
    17 # Dummy value until file format is finalized.
    18 # Reminder: change the bounds check in revlog.__init__ when this is changed.
       
    19 REVLOGV2 = 0xDEAD
    18 REVLOGV2 = 0xDEAD
    20 # Shared across v1 and v2.
    19 # Shared across v1 and v2.
    21 FLAG_INLINE_DATA = 1 << 16
    20 FLAG_INLINE_DATA = 1 << 16
    22 # Only used by v1, implied by v2.
    21 # Only used by v1, implied by v2.
    23 FLAG_GENERALDELTA = 1 << 17
    22 FLAG_GENERALDELTA = 1 << 17