mercurial/revlogutils/docket.py
changeset 47345 710435a5c469
parent 47326 53ab13d6a5db
child 47371 298d4400ea68
equal deleted inserted replaced
47342:dc3800569157 47345:710435a5c469
    93 # * 8 bytes: size of index-data
    93 # * 8 bytes: size of index-data
    94 # * 8 bytes: pending size of index-data
    94 # * 8 bytes: pending size of index-data
    95 # * 8 bytes: size of data
    95 # * 8 bytes: size of data
    96 # * 8 bytes: pending size of data
    96 # * 8 bytes: pending size of data
    97 # * 1 bytes: default compression header
    97 # * 1 bytes: default compression header
    98 S_HEADER = struct.Struct(constants.INDEX_HEADER.format + 'BBLLLLc')
    98 S_HEADER = struct.Struct(
       
    99     pycompat.sysstr(constants.INDEX_HEADER.format) + 'BBLLLLc'
       
   100 )
    99 
   101 
   100 
   102 
   101 class RevlogDocket(object):
   103 class RevlogDocket(object):
   102     """metadata associated with revlog"""
   104     """metadata associated with revlog"""
   103 
   105