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/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

�]Lb��@sJddlmZddlZddlmZddlmZddlmZm	Z	d
dd	�Z
dS)�)�absolute_importN�)�_��short)�error�pycompatFc
Cs�|jj}g}t�}t�}t�}	t�}
|s0|���}|�di���}Wd�n1s+wY|dur8d|d<|j��|jkr^|
�|j�||jgkrW|jg|jgt	|�fS|jgg|fS|j
�td��g}|D]}
||
�sv|�
|
�qj|
�|
�qj|s�t	|
�gt	|�fSt|�}d}|j
jtd�td�d	�}|���}|�d
d|i���}Wd�n1s�wYt�|�}|�r�g}|�r�|��}|d|vr�q�|j
�dt|d�t|d�f�|d|jkr�n�||	vr�|j
�d
�q�|d�r!||d��r!|j
�dt|d�t|d�f�|�
|dd��|	�|�na|d|v�rd|d|v�rd||d��rP||d��rP|j
�dt|d��|�|d�|dd�D]
}||��rb|
�|��qV|dd�D]}||v�r�||��s�|�
|�|�|��qj|�|d�|s�|�r�|d7}|��|j
�d|d�tt|��f�t�dt|�d�D]E}|���}|�d
d|||d�i���}Wd�n	1�s�wY|D]}|j
�dt|d�t|d�f�|�
|��qؐq�|s�|�r�g}|d7}|��|���}|�dd|i���}Wd�n	1�swYt||�D]f\}}|�
|d�|d}d}|D]O}|j
�d|t|�t|�f�||��r�|dk�rk|j
�dt|��|�|�|
�|�n|j
�dt|�t|�f�|�
||f�n	||d}}�q;|}�q(|�s�|D]}||��r�t�td�t|dd�����q�t	|
�}
|
|jgk�r�|�r�|j
�td��nt�td���|j
�dd�d d!�|D��d"�|��|j
�d#|�|du�r�||d<|
t	|�|fS)$anReturn a tuple (common, fetch, heads) used to identify the common
    subset of nodes between repo and remote.

    "common" is a list of (at least) the heads of the common subset.
    "fetch" is a list of roots of the nodes that would be incoming, to be
      supplied to changegroupsubset.
    "heads" is either the supplied heads, or else the remote's heads.
    sheadsNrstotal-roundtripsssearching for changes
rs	searchingsqueries)�unitsbranchessnodessexamining %s:%s
sbranch already found
sfound incomplete branch %s:%s
��sfound new changeset %s
�srequest %d: %s
� �
sreceived %s:%s
sbetweenspairssnarrowing %d:%d %s
sfound new branch changeset %s
s narrowed branch search to %s:%s
salready have changeset s!warning: repository is unrelated
srepository is unrelateds!found new changesets starting at cSsg|]}t|��qS�r)�.0�frr�9/usr/lib/python3/dist-packages/mercurial/treediscovery.py�
<listcomp>�sz&findcommonincoming.<locals>.<listcomp>�
s%d total queries
) �	changelog�hasnode�set�commandexecutor�callcommand�result�tip�nullid�add�list�ui�statusr�append�makeprogress�collections�deque�popleft�debugr�	increment�join�mapr�xrange�len�zipr�	RepoError�warn�Abort�complete)�repo�remote�heads�force�audit�	knownnode�search�fetch�seen�
seenbranch�base�e�unknown�h�req�reqcnt�progress�branches�r�n�p�b�	newsearch�between�lr�irrr�findcommonincomings

�
�
$��

�

��!�
�������9
�


�
��� 
����
rK)NFN)�
__future__rr#�i18nr�noder�rrrKrrrr�<module>s

https://t.me/RX1948 - 2025