o ]Lb" @snddlmZddlmZddlmZdZdZddZddeddeefdd Z ej d d d Gd d d e Z dS))absolute_import)attr) repositorycCs0|tj@dkrtd|tt|d>|BS)Nrsunknown revlog index flags: %d)rREVISION_FLAGS_KNOWN ValueErrorint)offsettyper @/usr/lib/python3/dist-packages/mercurial/revlogutils/__init__.py offset_types rc Cs$t|||||||||| | | | | f S)aMBuild one entry from symbolic name This is useful to abstract the actual detail of how we build the entry tuple for caller who don't care about it. This should always be called using keyword arguments. Some arguments have default value, this match the value used by index version that does not store such data. )r) data_offsetdata_compressed_lengthdata_delta_baselink_rev parent_rev_1 parent_rev_2node_idflagsdata_uncompressed_lengthdata_compression_modesidedata_offsetsidedata_compressed_lengthsidedata_compression_moderankr r rentrysrT)slotsfrozenc@sHeZdZdZeZeZeZeZ eZ eZ eZ dS) revisioninfoa~Information about a revision that allows building its fulltext node: expected hash of the revision p1, p2: parent revs of the revision btext: built text cache consisting of a one-element list cachedelta: (baserev, uncompressed_delta) or None flags: flags associated to the revision storage One of btext[0] or cachedelta must be set. N) __name__ __module__ __qualname____doc__ribnodep1p2btexttextlen cachedeltarr r r rr!As  r!N) __future__r thirdpartyr interfacesrCOMP_MODE_INLINE RANK_UNKNOWNrrsobjectr!r r r rs    )