https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/mercurial/pure/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/mercurial/pure/__pycache__/parsers.cpython-310.pyc
o

�]Lb�}�@s�ddlmZddlZddlZddlZddlmZmZddlm	Z	ddl
mZmZm
Z
mZddl
mZddl
mZejZejZejZejZejZd	Zd
Zd
ZdZ dZ!dZ"d
Z#dZ$dZ%dZ&dZ'dZ(dZ)dZ*dZ+dZ,dZ-dZ.dZ/e	j0ddd�Gdd�de1��Z2dd �Z3Gd!d"�d"e1�Z4Gd#d$�d$e4�Z5Gd%d&�d&e5�Z6Gd'd(�d(e4�Z7ej8fd)d*�Z9d+d,�Z:Gd-d.�d.e5�Z;Gd/d0�d0e;�Z<d1d2�Z=d3d4�Z>d5d6�Z?dS)7�)�absolute_importN�)�nullrev�sha1nodeconstants)�attr)�error�pycompat�revlogutils�util)�nodemap)�	constants����������� �@��iiiii i@i�TF)�slots�initc@s�eZdZdZe��Ze��Ze��Ze��Z	e��Z
e��Ze��Ze��Z
e��Ze��Z								dCdd�Zedd��Zed	d
��Zdd�Zd
d�Zdd�Zdd�Zdd�Zedd��Zedd��Zedd��Zdd�Zedd��Zedd ��Zed!d"��Z e j!d#d$��Z"ed%d&��Z#ed'd(��Z$e$j!d)d*��Z%ed+d,��Z&ed-d.��Z'ed/d0��Z(ed1d2��Z)ed3d4��Z*ed5d6��Z+ed7d8��Z,d9d:�Z-d;d<�Z.d=d>�Z/d?d@�Z0dAdB�Z1dS)D�DirstateItema�represent a dirstate entry

    It hold multiple attributes

    # about file tracking
    - wc_tracked: is the file tracked by the working copy
    - p1_tracked: is the file tracked in working copy first parent
    - p2_info: the file has been involved in some merge operation. Either
               because it was actually merged, or because the p2 version was
               ahead, or because some rename moved it there. In either case
               `hg status` will want it displayed as modified.

    # about the file state expected from p1 manifest:
    - mode: the file mode in p1
    - size: the file size in p1

    These value can be set to None, which mean we don't have a meaningful value
    to compare with. Either because we don't really care about them as there
    `status` is known without having to look at the disk or because we don't
    know these right now and a full comparison will be needed to find out if
    the file is clean.

    # about the file state on disk last time we saw it:
    - mtime: the last known clean mtime for the file.

    This value can be set to None if no cachable state exist. Either because we
    do not care (see previous section) or because we could not cache something
    yet.
    FTNc		Cs�||_||_||_||_||_d|_d|_d|_d|_d|_	|dur'd}d}n|ddur/d}|r;|d|_|d|_|rI|d\|_|_|_	dSdS)NFrrr)
�_wc_tracked�_p1_tracked�_p2_info�_fallback_exec�_fallback_symlink�_mode�_size�_mtime_s�	_mtime_ns�_mtime_second_ambiguous)	�self�
wc_tracked�
p1_tracked�p2_info�has_meaningful_data�has_meaningful_mtime�parentfiledata�
fallback_exec�fallback_symlink�r-�8/usr/lib/python3/dist-packages/mercurial/pure/parsers.py�__init__ms2

��zDirstateItem.__init__cCs�t|t@�}t|t@�}d}|t
@rd}d}d}|t@r!|t@}d}	|t@r+|t@}	|rLtj	dks4J�|t
@r;d}nd}|t@rG|tjO}n|tj
O}|t@}
|t|t@�t|t@�t|t@�|||||||
ff||	d�S)z,Build a new DirstateItem object from V2 dataNFri�i�)r%r&r'r(r)r*r+r,)�bool�DIRSTATE_V2_HAS_MODE_AND_SIZE�DIRSTATE_V2_HAS_MTIME�&DIRSTATE_V2_EXPECTED_STATE_IS_MODIFIED�DIRSTATE_V2_HAS_FALLBACK_EXEC�DIRSTATE_V2_FALLBACK_EXEC� DIRSTATE_V2_HAS_FALLBACK_SYMLINK�DIRSTATE_V2_FALLBACK_SYMLINK�stat�S_IXUSR�DIRSTATE_V2_MODE_EXEC_PERM�DIRSTATE_V2_MODE_IS_SYMLINK�S_IFLNK�S_IFREG�"DIRSTATE_V2_MTIME_SECOND_AMBIGUOUS�DIRSTATE_V2_WDIR_TRACKED�DIRSTATE_V2_P1_TRACKED�DIRSTATE_V2_P2_INFO)�cls�flags�size�mtime_s�mtime_ns�
has_mode_sizer)�moder+r,�second_ambiguousr-r-r.�from_v2_data�s>




�zDirstateItem.from_v2_datacCs�|dkr|dddd�S|dkr|dd�S|dkr4|tkr!d}d}n
|tkr*d}d}nd}d}|||d�S|d	krh|tkrB|ddd
�S|tkrL|ddd�S|tkr[|ddd||dfd
�S|dd|||ddffd�Std|��)z�Build a new DirstateItem object from V1 data

        Since the dirstate-v1 format is frozen, the signature of this function
        is not expected to change, unlike the __init__ one.
        �mT)r%r&r'�a)r%�rF)r&r'�n)r%r')r%r&)�*rF)r%r&r)r*r)r%r&r*sunknown state: %s)�	NONNORMAL�FROM_P2�AMBIGUOUS_TIME�RuntimeError)rB�staterHrD�mtimer&r'r-r-r.�from_v1_data�s@
��zDirstateItem.from_v1_datacCsd|_d|_dS)z�Mark a file as "possibly dirty"

        This means the next status call will have to actually check its content
        to make sure it is correct.
        N)r!r"�r$r-r-r.�set_possibly_dirty�s
zDirstateItem.set_possibly_dirtycCs,d|_d|_||_||_|\|_|_|_dS)aqmark a file as "clean" cancelling potential "possibly dirty call"

        Note: this function is a descendant of `dirstate.normal` and is
        currently expected to be call on "normal" entry only. There are not
        reason for this to not change in the future as long as the ccode is
        updated to preserve the proper state of the non-normal files.
        TN)rrrr r!r"r#)r$rHrDrUr-r-r.�	set_clean�s
zDirstateItem.set_cleancCsd|_d|_d|_dS)zumark a file as tracked in the working copy

        This will ultimately be called by command like `hg add`.
        TN)rr!r"rWr-r-r.�set_trackeds
zDirstateItem.set_trackedcCs"d|_d|_d|_d|_d|_dS)zzmark a file as untracked in the working copy

        This will ultimately be called by command like `hg remove`.
        FN)rrr r!r"rWr-r-r.�
set_untrackeds

zDirstateItem.set_untrackedcCs,|jrd|_d|_d|_d|_d|_dSdS)z�remove all "merge-only" from a DirstateItem

        This is to be call by the dirstatemap code when the second parent is dropped
        FN)rrr r!r"rWr-r-r.�drop_merge_datas
�zDirstateItem.drop_merge_datacC�|��S�N)�v1_moderWr-r-r.rH%�zDirstateItem.modecCr]r^)�v1_sizerWr-r-r.rD)r`zDirstateItem.sizecCr]r^)�v1_mtimerWr-r-r.rU-r`zDirstateItem.mtimecCsT|j}|dur	dS|j}|\}}}||krdS|dks|dkr&|jr$dSdS||kS)NFrT)r!r"r#)r$�other_mtime�self_sec�self_ns�	other_sec�other_nsrIr-r-r.�mtime_likely_equal_to1s
z"DirstateItem.mtime_likely_equal_tocCs|jsdS|��S)a\
        States are:
          n  normal
          m  needs merging
          r  marked for removal
          a  marked for addition

        XXX This "state" is a bit obscure and mostly a direct expression of the
        dirstatev1 format. It would make sense to ultimately deprecate it in
        favor of the more "semantic" attributes.
        �?)�any_tracked�v1_staterWr-r-r.rTGs
zDirstateItem.statecC�
|jduS)a�True if "fallback" information are available for the "exec" bit

        Fallback information can be stored in the dirstate to keep track of
        filesystem attribute tracked by Mercurial when the underlying file
        system or operating system does not support that property, (e.g.
        Windows).

        Not all version of the dirstate on-disk storage support preserving this
        information.
        N�rrWr-r-r.�has_fallback_execXs
zDirstateItem.has_fallback_execcC�|jS)a "fallback" information for the executable bit

        True if the file should be considered executable when we cannot get
        this information from the files system. False if it should be
        considered non-executable.

        See has_fallback_exec for details.rmrWr-r-r.r+f�	zDirstateItem.fallback_execcC� |dur	d|_dSt|�|_dS)acontrol "fallback" executable bit

        Set to:
        - True if the file should be considered executable,
        - False if the file should be considered non-executable,
        - None if we do not have valid fallback data.

        See has_fallback_exec for details.N)rr0�r$�valuer-r-r.�set_fallback_execq�

zDirstateItem.set_fallback_execcCrl)a�True if "fallback" information are available for symlink status

        Fallback information can be stored in the dirstate to keep track of
        filesystem attribute tracked by Mercurial when the underlying file
        system or operating system does not support that property, (e.g.
        Windows).

        Not all version of the dirstate on-disk storage support preserving this
        information.N�rrWr-r-r.�has_fallback_symlink�s
z!DirstateItem.has_fallback_symlinkcCro)a "fallback" information for symlink status

        True if the file should be considered executable when we cannot get
        this information from the files system. False if it should be
        considered non-executable.

        See has_fallback_exec for details.rvrWr-r-r.r,�rpzDirstateItem.fallback_symlinkcCrq)acontrol "fallback" symlink status

        Set to:
        - True if the file should be considered a symlink,
        - False if the file should be considered not a symlink,
        - None if we do not have valid fallback data.

        See has_fallback_symlink for details.N)rr0rrr-r-r.�set_fallback_symlink�ruz!DirstateItem.set_fallback_symlinkcCro)z/True is the file is tracked in the working copy)rrWr-r-r.�tracked��zDirstateItem.trackedcCs|jp|jp|jS)z4True is the file is tracked anywhere (wc or parents)�rrrrWr-r-r.rj�szDirstateItem.any_trackedcCs|jo	|jp|jS)zTrue if the file has been addedr{rWr-r-r.�added��zDirstateItem.addedcCs"|jsdS|js
dS|jrdSdS)z8True if the file has a chance to be in the "clean" stateFTr{rWr-r-r.�maybe_clean�szDirstateItem.maybe_cleancCro)z8True if the file is tracked in the first parent manifest)rrWr-r-r.r&�rzzDirstateItem.p1_trackedcCs|jo|jS)zvTrue if the file needed to merge or apply any input from p2

        See the class documentation for details.
        )rrrWr-r-r.r'�szDirstateItem.p2_infocCs|jo	|jp	|jS)z!True if the file has been removedr{rWr-r-r.�removed�r}zDirstateItem.removedcCs�d}|jr	|tO}|jr|tO}|jr|tO}|jdur9|jdur9|tO}|j	t
j@r/|tO}t
�
|j	�r9|tO}|jdurB|tO}|jrI|tO}|jdurY|tO}|jrY|tO}|jduri|tO}|jri|tO}||jpnd|jprd|jpvdfS)z7Returns (flags, mode, size, mtime) for v2 serializationrN)rr?rr@rrArr r1rHr8r9r:�S_ISLNKr;r!r2r#r>rr4r5rr6r7r")r$rCr-r-r.�v2_data�s4


zDirstateItem.v2_datacCs6|jstd��|jrdS|jr|jrdS|jrdSdS)z.return a "state" suitable for v1 serialization�untracked itemrMrKrLrN)rjrSrrrr|rWr-r-r.rk�szDirstateItem.v1_statecCs|jdur|jSdS)z-return a "mode" suitable for v1 serializationNr)rrWr-r-r.r_szDirstateItem.v1_modecCsV|jstd��|jr|jr|jrtS|jrtS|jrdS|jr!tS|jdur(tS|jS)z-return a "size" suitable for v1 serializationr�rN)	rjrSrrrrPrQr|r rWr-r-r.ra	s
zDirstateItem.v1_sizecCsJ|jstd��|jrdS|jdurtS|jrtS|jstS|jr"tS|jS)z.return a "mtime" suitable for v1 serializationr�rN)rjrSrr!rRrrr#rWr-r-r.rbs
zDirstateItem.v1_mtime)FFFTTNNN)2�__name__�
__module__�__qualname__�__doc__r�ibrrrrr r!r"rrr#r/�classmethodrJrVrXrYrZr[r\�propertyrHrDrUrhrTrnr+�setterrtrwr,rxryrjr|r~r&r'rr�rkr_rarbr-r-r-r.rBs�
�&
+
*	




















#rcCst|d@�S)Ni��)�int)�qr-r-r.�gettype0�r�c
@s�eZdZdZejZe�d�Z	e�d�Z
dddddddejddej
ej
ejf
Zejdd��Zejdd��Zd	d
�Zdd�Zd
d�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Z d#S)$�BaseIndexObjectrs>Q�>ircCs|jjSr^)�index_formatrDrWr-r-r.�
entry_sizeNr`zBaseIndexObject.entry_sizecCs<t�tjti�}tdt|��D]}||d}|||<q|S)Nr�)�nodemaputil�NodeMapr�nullidr�range�len)r$r�r�nr-r-r.�_nodemapRs

zBaseIndexObject._nodemapcCs
||jvS)z*return True if the node exist in the index�r��r$�noder-r-r.�has_nodeZs
zBaseIndexObject.has_nodecC�
|j|S)zQreturn a revision for a node

        If the node is unknown, raise a RevlogErrorr�r�r-r-r.�rev^s
zBaseIndexObject.revcCs|j�|�S)zIreturn a revision for a node

        If the node is unknown, return None)r��getr�r-r-r.�get_revdszBaseIndexObject.get_revcCs<dt|�vrt|t|��D]}||d}|j|=q
dSdS�Nr�r�)�varsr�r�r�)r$�startr�r�r-r-r.�_stripnodesjs
�zBaseIndexObject._stripnodescCs|j�dd�dS)Nr�)�__dict__�poprWr-r-r.�clearcachespszBaseIndexObject.clearcachescCs|jt|j�Sr^)�_lgtr��_extrarWr-r-r.�__len__sszBaseIndexObject.__len__cCs>dt|�vrt|�|j|d<|�t|�|�}|j�|�dSr�)r�r�r��_pack_entryr��append)r$�tup�datar-r-r.r�vszBaseIndexObject.appendcCs4|ddksJ�|ddksJ�|jj|dd��S)Nrr�	�r��pack�r$r��entryr-r-r.r�|szBaseIndexObject._pack_entrycCs2t|t�s	td��|dks|t|�krt|��dS)Nsexpecting int indexesr)�
isinstancer��	TypeErrorr��
IndexError�r$�ir-r-r.�_check_index�s

�zBaseIndexObject._check_indexcCs�|dkr|jS|�|�||jkr|j||j}n|�|�}|j|||j�}|�||�}|jrI|dkrIt�	dt
|d��}|f|dd�}|S)Nrrr)�	null_itemr�r�r��_calculate_index�_datar��
_unpack_entryr	�offset_typer�)r$r�r��indexr��offsetr-r-r.�__getitem__�s


zBaseIndexObject.__getitem__cCs(|j�|�}|ddtjtjtjf}|S�Nr)r��unpack�revlog_constants�COMP_MODE_INLINE�RANK_UNKNOWN)r$r�r�r�r-r-r.r��s�zBaseIndexObject._unpack_entrycCstj}|�|�S)�!pack header information as binary)r��INDEX_HEADERr�)r$�header�v_fmtr-r-r.�pack_header�s
zBaseIndexObject.pack_headercCs8||}tjj|dd��}|dkr|tjjd�}|S)�4return the raw binary string representing a revisionNrr)r��INDEX_ENTRY_V1r�r�rD)r$r�r��pr-r-r.�entry_binary�s
zBaseIndexObject.entry_binaryN)!r�r�r��rust_ext_compatr�r�r��struct�calcsize�big_int_size�int_sizerr�r�r�r�r
�
propertycacher�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r-r-r-r.r�4sH

�

r�c@s$eZdZdd�Zdd�Zdd�ZdS)�IndexObjectcCsPt|�|jdksJt|�|jt|�|jf��||_t|�|j|_g|_dSr�)r�r�r�r�r�)r$r�r-r-r.r/�s�
zIndexObject.__init__cCs
||jSr^)r�r�r-r-r.r���
zIndexObject._calculate_indexcCs�t|t�r|jdkr|jdurtd��|j}|�|�|�|�||jkr8|j	d||j
�|_	||_g|_dS|jd||j�|_dS�Nrs.deleting slices only supports a:-1 with step 1)r��slice�stop�step�
ValueErrorr�r�r�r�r�r�r�r�r-r-r.�__delitem__�s



zIndexObject.__delitem__N)r�r�r�r/r�r�r-r-r-r.r��s
r�c@s(eZdZdZdd�Zdd�Zdd�ZdS)	�PersistentNodeMapIndexObjectaa Debug oriented class to test persistent nodemap

    We need a simple python object to test API and higher level behavior. See
    the Rust implementation for  more serious usage. This should be used only
    through the dedicated `devel.persistent-nodemap` config.
    cCs
t�|�S)z�Return bytes containing a full serialization of a nodemap

        The nodemap should be valid for the full set of revisions in the
        index.)r��persistent_datarWr-r-r.�nodemap_data_all�s
z-PersistentNodeMapIndexObject.nodemap_data_allcCsL|jdurdS|j}t�||j|j|jj�\}}d|_|_|_|||fS)z�Return bytes containing a incremental update to persistent nodemap

        This containst the data for an append-only update of the data provided
        in the last call to `update_nodemap_data`.
        N)�_nm_root�
_nm_docketr��update_persistent_data�_nm_max_idx�tip_rev)r$�docket�changedr�r-r-r.�nodemap_data_incremental�s
�
z5PersistentNodeMapIndexObject.nodemap_data_incrementalcCsD|dur t�|�\|_|_|jr||_dSd|_|_|_dSdS)z�provide full block of persisted binary data for a nodemap

        The data are expected to come from disk. See `nodemap_data_all` for a
        produceur of such data.N)r��
parse_datar�r�r�)r$r��nm_datar-r-r.�update_nodemap_data�s
�z0PersistentNodeMapIndexObject.update_nodemap_dataN)r�r�r�r�r�r�r�r-r-r-r.r��s
r�c@s.eZdZddd�Zdd�Zdd�Zdd	�Zd
S)�InlinedIndexObjectrcCs(||_|�d�|_|�|j�g|_dSr^)r��_inline_scanr�r�)r$r��inliner-r-r.r/�s
zInlinedIndexObject.__init__cCs�d}|durdg||_d}|t|j�|jkrJ||j}t�d|j|||j��\}|dur5||j|<|d7}||j|7}|t|j�|jks|t|j�krUtd��|S)Nrr�rscorrupted data)	�_offsetsr�r�r�r�r�r�r�r�)r$�lgt�off�countr��sr-r-r.r��s$
�
�
zInlinedIndexObject._inline_scancCs�t|t�r|jdkr|jdurtd��|j}|�|�|�|�||jkr5|j	d|�|_	||_g|_
dS|j
d||j�|_
dSr�)r�r�r�r�r�r�r�r�r�r�r�r�r-r-r.r�s



zInlinedIndexObject.__delitem__cCr�r^)r�r�r-r-r.r�r�z#InlinedIndexObject._calculate_indexN�r)r�r�r�r/r�r�r�r-r-r-r.r��s


r�cCsL|tjkr	t|�S|s|tjkrt}nt}||�dfSt}|||�d|ffSr�)r��CHANGELOGV2�parse_index_cl_v2�REVLOGV2�IndexObject2r�r�)r�r��formatrBr-r-r.�parse_index2"s

r�cCst|�dfSr^)�IndexChangelogV2)r�r-r-r.r�/r�r�c@s:eZdZejZdd�Zdd�Zdd�Zdd�Z	d	d
�Z
dS)r�c	Cs�|dkrt�|�|�||jkrd}t|��t||�}||d<||d<||d<||d<t|�}|�||�}||j||j<dS)z�
        Replace an existing index entry's sidedata offset and length with new
        ones.
        This cannot be used outside of the context of sidedata rewriting,
        inside the transaction that creates the revision `rev`.
        rs2cannot rewrite entries outside of this transactionrr��N)�KeyErrorr�r��list�tupler�r�)	r$r��sidedata_offset�sidedata_length�offset_flags�compression_mode�msgr��newr-r-r.�replace_sidedata_info6s

z"IndexObject2.replace_sidedata_infocCsD|j�|�}|dd�}|dd@}|dd@d?}|||tjfS)N�
��r)r�r�r�r�)r$r�r�r��	data_comp�
sidedata_compr-r-r.r�Ts
zIndexObject2._unpack_entrycCsB|dd�}|dd@}|dd@d>}|||Bf7}|jj|�S)Nr
rr�rr�)r$r�r�r�r
rr-r-r.r�[s
zIndexObject2._pack_entrycCs||}|�||�S)r�)r�r�r-r-r.r�cszIndexObject2.entry_binarycCsd}||;}t�|��)r�z9version header should go in the docket, not the index: %d)r�ProgrammingError)r$r�rr-r-r.r�hs
zIndexObject2.pack_headerN)r�r�r�r��INDEX_ENTRY_V2r�r	r�r�r�r�r-r-r-r.r�3sr�c@sHeZdZejZejdej�dejejd�Zddd�Z	dd�Z
dS)	r�Nr�TcCsx|j�|�}|tj|tj|tj|||tj|tj|tj|tj	|tj
|tjd@|tjd?d@|tjf
S�Nrr)
r�r�r��INDEX_ENTRY_V2_IDX_OFFSET�$INDEX_ENTRY_V2_IDX_COMPRESSED_LENGTH�&INDEX_ENTRY_V2_IDX_UNCOMPRESSED_LENGTH�INDEX_ENTRY_V2_IDX_PARENT_1�INDEX_ENTRY_V2_IDX_PARENT_2�INDEX_ENTRY_V2_IDX_NODEID�"INDEX_ENTRY_V2_IDX_SIDEDATA_OFFSET�-INDEX_ENTRY_V2_IDX_SIDEDATA_COMPRESSED_LENGTH�#INDEX_ENTRY_V2_IDX_COMPRESSION_MODE�INDEX_ENTRY_V2_IDX_RANK)r$r�r�r��itemsr-r-r.r�xs&���zIndexChangelogV2._unpack_entrycCs�|tj}|tj}||ksJ||f��||ksJ||f��|tj|tj|tj|tj|tj|tj|tj	|tj
|tjd@|tjd@d>B|tj
f
}|jj|�Sr)r��ENTRY_DELTA_BASE�ENTRY_LINK_REV�ENTRY_DATA_OFFSET�ENTRY_DATA_COMPRESSED_LENGTH�ENTRY_DATA_UNCOMPRESSED_LENGTH�ENTRY_PARENT_1�ENTRY_PARENT_2�
ENTRY_NODE_ID�ENTRY_SIDEDATA_OFFSET� ENTRY_SIDEDATA_COMPRESSED_LENGTH�ENTRY_DATA_COMPRESSION_MODE�ENTRY_SIDEDATA_COMPRESSION_MODE�
ENTRY_RANKr�r�)r$r�r��base�link_revr�r-r-r.r��s(

���zIndexChangelogV2._pack_entry)T)r�r�r�r��INDEX_ENTRY_CL_V2r�r�r�r)r�r�r-r-r-r.r�os���
r�cCst|�dfS)zBlike parse_index2, but alway return a PersistentNodeMapIndexObjectN)r�)r�r�r-r-r.�parse_index_devel_nodemap�sr-cCs�|dd�|dd�g}d}t�|�}d}t|�}||krT||}td|||��}	||	d}|||�}
d|
vrE|
�d�\}
}|||
<tj|	dd��||
<||ks|S)N��(�>cllllr�)r�r�r��_unpack�splitrrV)�dmap�copymap�st�parentsr��e_size�pos1�l�pos2�e�f�cr-r-r.�parse_dirstate�s 
�	r?c	Cs�t�}|j}|d�|��t�|�D]+\}}||vr"d|||f}td|��|��|��|�	�t
|��}||�||�q|��S)N�s%s%sr0)�stringio�write�joinr�	iteritems�_packrkr_rarbr��getvalue)r4r5�pl�csrBr=r<r-r-r.�
pack_dirstate�s"�
rI)@�
__future__rr8r��zlibr�rr�
thirdpartyr�rrr	r
rr�rr��bytesiorAr�rEr�r2�compress�	_compress�
decompress�_decompressrQrPrRr?r@rAr:r;r4r5r6r7r3r1r2r>�DIRSTATE_V2_DIRECTORY� DIRSTATE_V2_ALL_UNKNOWN_RECORDED� DIRSTATE_V2_ALL_IGNORED_RECORDEDr��objectrr�r�r�r�r��REVLOGV1r�r�r�r�r-r?rIr-r-r-r.�<module>sdp{,+
<5

https://t.me/RX1948 - 2025