403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/mercurial/__pycache__/logexchange.cpython-313.pyc
�

6�h���d�SSKJr SSKJr SSKJrJr SSKJ	r	 Sr
SrSrS	r
SSjrSrS
rg
)�)�annotations�)�hex)�util�vfs)�urlutilslogexchangec#�# �[R"URR[55nUR	U5(dgU"U5nSnUHBnUR5nU(dMUS:XaUS-
nUR
S5upgnXgU4v� MD UR5 g![a Mdf=f7f)z�
reads a file from .hg/logexchange/ directory and yields it's content
filename: the file to be read
yield a tuple (node, remotepath, name)
Nrr�)	�vfsmodr�join�
remotenamedir�exists�strip�split�
ValueError�close)	�repo�filenamer�f�lineno�line�node�remote�rnames	         �7/usr/lib/python3/dist-packages/mercurial/logexchange.py�readremotenamefilers�����*�*�T�X�X�]�]�=�1�
2�C��:�:�h�����H�
�A�
�F����z�z�|�����Q�;��a�K�F�	�"&�*�*�U�"3��D�%���%�%���G�G�I���	��	�s*�A>C�B0�C�0
B>�:C�=B>�>Cc#�d# �[US5Shv�N [US5Shv�N gNN7f)z�
read the details about the remotenames stored in .hg/logexchange/ and
yields a tuple (node, remotepath, name). It does not yields information
about whether an entry yielded is branch or bookmark. To get that
information, call the respective functions.
�	bookmarksN�branches)r)rs r�readremotenamesr 5s/���"�$��5�5�5�!�$��4�4�4�6�4�s�0�,�0�.�0�0c�(�[R"URR[55nU"USSS9nUR	S5 [[
X55n[U5H#upxn	X�:wdM
UR	SXxU	4-5 M% [UR55HSup�US:Xa!UHnUR	SX�U
4-5 M M,US:XdM4U(dM=UR	SXqU
4-5 MU UR5 g)N�wT)�
atomictemps0

s	%s%s%s
rr)
rrrr
�write�setr�sorted�itemsr)r�
remotepath�names�nametyperr�olddatar�oldpathr�name�ns            r�writeremotenamefiler/As���
�*�*�T�X�X�]�]�=�1�
2�C��H�d�t�,�A��G�G�H���$�T�4�5�G� &�w����u�� �
�G�G�O�t�e�&<�<�=�!0��U�[�[�]�+�
���{�"�������1�$�*?�?�@��
��
%��t�����4�T�*B�B�C�
,��G�G�I�Nc��UR5nU(a
[XUS5 U(a
[XUS5 UR5 g!UR5 f=f)zx
save remotenames i.e. remotebookmarks and remotebranches in their
respective files under ".hg/logexchange/" directory.
rrN)�wlockr/�release)rr(�branches�	bookmarksr2s     r�saveremotenamesr6YsE��

�J�J�L�E�����)�\�J����(�K�H�
�
�
����
�
��s�(A�Ac���UR5nUnU(a+[R"URR5nO%[U[5(dUR5nURRS5H_upE[R"U5n[R"[
U55n[R"U5nXS:XdXc:XdM\Un U$ U$)zreturns remote pathspaths)�localr�pconvert�_repo�root�
isinstance�bytes�url�ui�configitemsr�
removeauth)rrr8�rpath�pathr>�	noauthurls       r�
activepathrEhs���
�L�L�N�E�
�E���
�
�f�l�l�/�/�0��
���
&�
&��
�
����W�W�(�(��2�	���&�&�s�+�	��m�m�E�#�J�'���M�M�)�,�	��<�9�-��E���L�3��Lr0c�H�[X5nUR5nURSSS05R5nSSS5 0nUR	5nUR5nURS05R5nSSS5 WR5HNup�/XX'U	H?n
X�;dM
XjR
5(aM#XXR[U
55 MA MP [XUW5 g!,(df   N�=f!,(df   N�=f)z�
pulls bookmarks and branches information of the remote repo during a
pull or clone operation.
localrepo is our local repository
remoterepo is the peer instance
slistkeyss	namespacerNs	branchmap)
rE�commandexecutor�callcommand�result�
unfilteredr'�obsolete�appendrr6)�	localrepo�
remoterepor(�er5�bmapr�	branchmap�branch�nodesrs           r�pullremotenamesrT�s����I�2�J�	�	#�	#�	%���M�M���l�
�
�
�&�(�	�
&��D����!�D�	�	#�	#�	%���M�M�,��3�:�:�<�	�
&�#���*�
������D��|�D�J�$7�$7�$9�$9���#�#�C��I�.��+��I�4��;�1
&�	%��
&�	%�s�#D�)!D�
D�
D!)NN)�
__future__rrr�rrr�utilsrr
rr r/r6rErT�r0r�<module>rYs<��#����
�
��8	5��0��:!<r0

Youez - 2016 - github.com/yon3zu
LinuXploit