403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/usr/lib/python3/dist-packages/hgext/remotefilelog/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/usr/lib/python3/dist-packages/hgext/remotefilelog/__pycache__/remotefilelog.cpython-313.pyc
�

6�h�:���SSKJr SSKrSSKJr SSKJr SSKJr SSK	J
r
JrJrJ
r
 SSKJr SSKJr SS	KJr S
SKJrJr "SS
5r"SS5rg)�)�annotationsN)�Iterator)�bin)�_)�ancestor�error�mdiff�revlog)�
repository)�storageutil)�flagutil�)�	constants�shallowutilc�&�\rSrSrSrSrSrSrg)�remotefilelognodemap�%c��XlX lg�N��	_filename�_store)�self�filename�stores   �C/usr/lib/python3/dist-packages/hgext/remotefilelog/remotefilelog.py�__init__�remotefilelognodemap.__init__&s��!����c�r�URRURU4/5n[U5(+$r)r�
getmissingr�bool)r�node�missings   r�__contains__�!remotefilelognodemap.__contains__*s/���+�+�(�(�4�>�>�4�*@�)A�B����=� � rc�&�X;a[U5eU$r)�KeyError�rr#s  r�__get__�remotefilelognodemap.__get__.s�����4�.� ��rrN)�__name__�
__module__�__qualname__�__firstlineno__rr%r*�__static_attributes__�rrrr%s���!�rrc�<�\rSrSr\R
rSrSrS$Sjr	Sr
SS\RS4Sjr
S$SjrS	rS
r\rSrSr\rS
rSrSrSrSrSrSrSrS%S&SjjrSrSrSr Sr!S'Sjr"Sr#Sr$Sr%Sr&Sr'S r(S!r)S"r*S#r+g)(�
remotefilelog�4c��XlX lX0l[URUR5UlSUl[[R5Ul
g)Nr)�openerr�repor�contentstore�nodemap�version�dictr
�flagprocessors�_flagprocessors)rr6�pathr7s    rr�remotefilelog.__init__7sC�����
��	�+�D�M�M�4�;L�;L�M������#�H�$;�$;�<��rc��URU5nURS5(dU$URSS5nX#S-S$)z&returns the file contents at this nodes
�N)�revision�
startswith�index)rr#�t�ss    r�read�remotefilelog.readAsB���M�M�$����|�|�G�$�$��H�
�G�G�G�Q����Q���z�rNc	��[R"XRS5URS55n[R"XuU5nURXsXEXhS9$)N�copy�copyrev)r#)r�createrevlogtext�getr�hashrevisionsha1�addrevision)	r�text�meta�transaction�linknode�p1�p2�hashtextr#s	         r�add�remotefilelog.addIs\���/�/��(�(�7�#�T�X�X�j�%9�
���+�+�H�"�=������8�� �
�	
rc�&�[R"[U5U5nSX�4-n	Un
SnU(aSU;aUSn[US5n
U	SXjXWU4--
n	[	5n0n
/nX�R
R:wakUnU(a [URX�R
5nU
RURU
55 URU
5 URU
5 XPR
R:waBU
RURU55 URU5 URU5 SnU(a�URS5nU
UunnnnU=(d SnUSUUUUU4--
nUUR
R:wa(UU;a"URU5 URU5 UUR
R:wa(UU;a"URU5 URU5 U(aM�U	U-
n	U	$)Ns%s%srrJrKs%s%s%s%s%sr)r�buildfileblobheader�lenr�setr7�nullidr3r6�update�ancestormap�appendrW�pop)rrPrQ�flagsrTrUr#rS�header�data�realp1�copyfrom�visited�
pancestors�queue�p1flog�ancestortext�c�pa1�pa2�ancestorlinknode�
pacopyfroms                      r�_createfileblob�remotefilelog._createfileblobSs����0�0��T��E�B���F�>�)�������G�t�O��G�}�H���j�)�*�F���4��x�"H�H�H���%���
����Y�Y�%�%�%��F��&�t�{�{�H�i�i�H�����f�0�0��8�9��L�L�� ��K�K���
���!�!�!����d�.�.�r�2�3��L�L����K�K��O�����	�	�!��A�5?��]�2�C��&�
�#�*�s�J��O���� ��/��
�L��d�i�i�&�&�&�3�g�+=����S�!����C� ��d�i�i�&�&�&�3�g�+=����S�!����C� �%�e�(	
�����rc
���Uc[R"XU5n[R"U5up�[R"UUU5up�URUUUUUUUUX�4S9	$)N)�
_metatuple)rrN�	parsemetar
�processflagswrite�addrawrevision)rrPrRrSrTrU�
cachedeltar#rb�sidedatarQ�
metaoffset�rawtext�validatehashs              rrO�remotefilelog.addrevision�s����<��/�/��"�=�D�&�0�0��6��� (� :� :����!
���
�"�"����������)�#�

�
	
rc
	��U	(aU	up�O[R"U5up�US:waSnU(aXSnOUnURX�XtXVU5n
URRRURXm5 U$)Nr)rrurqr7r8�addremotefilelognoder)rr{rRrSrTrUr#rbrxrtrQrz�blobtextrds              rrw�remotefilelog.addrawrevision�s���� *��D�*� +�4�4�W�=��D��A�:��J���{�+�H��H��#�#��E�r��
��	
�	�	���3�3�D�M�M�4�N��rc��URRRURU5nX!up4pVU(aXc4$g�NF�r7�
metadatastore�getancestorsr)rr#�	ancestorsrTrUrSrfs       r�renamed�remotefilelog.renamed�s<���I�I�+�+�8�8�����M�	�%.�_�"�����>�!�rc�6�[URU55$)z#return the size of a given revision)r[rGr)s  r�size�remotefilelog.size�s���4�9�9�T�?�#�#rc�`�XRR:XagURU5nX2:g$)z`compare text with a given file revision

returns True if text is different than what is stored.
T)r7r]rG)rr#rP�nodetexts    r�cmp�remotefilelog.cmp�s-���9�9�#�#�#���9�9�T�?����rc��g)NTr1�rs r�__nonzero__�remotefilelog.__nonzero__����rc�:�URS;ag[S5e)N)s.hgtagss.hgsubs.hgsubstaterslen not supported)r�RuntimeErrorr�s r�__len__�remotefilelog.__len__�s ���=�=�C�C�
��/�0�0rc��/$rr1r�s r�heads�remotefilelog.headss���	rc��gr�r1r�s r�empty�remotefilelog.emptys��rc��[U[5(a[R"S5eURR
nUR
URU5R[RS5$)Ns3remotefilelog does not accept integer rev for flagsr)�
isinstance�intr�ProgrammingErrorr7r8�getmetarrMr�METAKEYFLAG)rr#rs   rrb�remotefilelog.flags
s^���d�C� � ��(�(�F��
��	�	�&�&���}�}�T�]�]�D�1�5�5�i�6K�6K�Q�O�Orc�:�XRR:Xa,URRURR4$URRRURU5nX!up4pVU(aURRnX44$r)r7r]r�r�r�rr#r_rTrUrSrfs       r�parents�remotefilelog.parentssw���9�9�#�#�#��9�9�#�#�T�Y�Y�%5�%5�5�5��i�i�-�-�:�:�4�=�=�$�O��%0�%6�"�������!�!�B��v�
rc�$�URU5$r)r��r�revs  r�
parentrevs�remotefilelog.parentrevss���|�|�C� � rc�t�URRRURU5nX!up4pVU$rr�r�s       rrS�remotefilelog.linknode"s4���i�i�-�-�:�:�4�=�=�$�O��%0�%6�"����rc��URR5RRUR	U55$r)r7�
unfiltered�	changelogr�rSr)s  r�linkrev�remotefilelog.linkrev's/���y�y�#�#�%�/�/�3�3�D�M�M�$�4G�H�Hrc	#�# �AAAAASn	UH�n
URU
5up�U	cU=p�W
U
:XaURRn
X�RR:waSnURX�5nOUR	U
5nSn[
R"U
UUURU
5U
URU
5SUUSSS9v� M� g7f)Nr)r#�p1node�p2noderS�basenoderb�baserevisionsizerB�deltary�protocol_flags)	r�r7r]�revdiff�rawdatar
�revlogrevisiondeltarSrb)r�nodes�
nodesorder�revisiondata�assumehaveparentrevisions�
deltaprevious�	deltamode�sidedata_helpers�
debug_info�prevnoder#rTrUr�rBr�s                r�
emitrevisions�remotefilelog.emitrevisions*s����
��&?������D��\�\�$�'�F�B���&(�(���4���9�9�+�+���9�9�+�+�+������X�4���<�<��-�����,�,�������t�,�!��j�j��&�!%�!��� ��
��s�CCc�l�[R"URU5URU55$r)r	�textdiffr�)r�node1�node2s   rr��remotefilelog.revdiffUs%���~�~�d�l�l�5�1�4�<�<��3F�G�Grc��[U5S:Xa[U5n[U5S:wa*[R"XR[S55eU$)N�(�sinvalid lookup input)r[rr�LookupErrorrrr)s  r�lookup�remotefilelog.lookupXsJ���t�9��?��t�9�D��t�9��?��#�#��m�m�Q�'>�%?��
��rc��U$rr1r)s  rr��remotefilelog.revbs���rc�\�[U[5(a[R"S5eU$)Ns2remotefilelog does not convert integer rev to node)r�r�rr�r�s  rr#�remotefilelog.nodefs,���c�3����(�(�E��
��
rc��XRR:Xag[U5S:wa*[R"XR
[
S55eXRRR:Xd#XRRR;a[ReURRnURUR
U5nU(aU$URUR
U5R[RS5nUS:XaU$[ R""XU5S$)z�returns the revlog contents at this node.
this includes the meta data traditionally included in file revlogs.
this is generally only used for bundling and communicating with vanilla
hg clients.
rr�sinvalid revision inputr)r7r]r[rr�rr�
nodeconstants�wdirid�wdirfilenodeids�WdirUnsupportedr8rMr�rr�r
�processflagsread)rr#�rawrr{rbs      rrB�remotefilelog.revisionns����9�9�#�#�#���t�9��?��#�#��m�m�Q�'@�%A��
�
�I�I�+�+�2�2�2��y�y�.�.�>�>�>��'�'�'��	�	�&�&���)�)�D�M�M�4�0����N��
�
�d�m�m�T�2�6�6�y�7L�7L�a�P���A�:��N��(�(���>�q�A�Arc�"�URUSS9$)NF)r�)rBr)s  rr��remotefilelog.rawdata�s���}�}�T�u�}�-�-rc�b�URRRURU5$rr�r)s  rr_�remotefilelog.ancestormap�s#���y�y�&�&�3�3�D�M�M�4�H�Hrc��XRR:XdX RR:XaURR$URX5up4UR5VVs0sHupVXe_M	 nnn[R
"XCUX25nU(a[
[URU55$URR$s snnfr)	r7r]�_buildrevgraph�itemsrr��min�map�__getitem__�	r�a�b�revmap�
parentfunc�k�vr9�ancss	         rr�remotefilelog.ancestor�s����	�	� � � �A���)9�)9�$9��9�9�#�#�#�!�0�0��6���&,�l�l�n�5�n�F�Q�1�4�n��5��!�!�*�Q�i���C����s�7�.�.��5�6�6��y�y�����
6s�/Cc�p�XRR:XdX RR:XaURR$URX5up4UR5VVs0sHupVXe_M	 nnn[R
"XCUX25n[
URU5$s snnf)z@calculate all the heads of the common ancestors of nodes a and b)r7r]r�r�r�commonancestorsheadsr�r�r�s	         rr��"remotefilelog.commonancestorsheads�s���
�	�	� � � �A���)9�)9�$9��9�9�#�#�#�!�0�0��6���&,�l�l�n�5�n�F�Q�1�4�n��5��,�,�Z���F�I�N���7�&�&��-�-��6s�/B2c��^�URU5nURU5n[R"[5n[	5mX44H�nUR5H�upxXWn	Uup�p�X�RR:wa)U
(d"U	RU
5 TRU
5 X�RR:wdMkU	RU5 TRU5 M� M� [R"[5n0n[R"U4SjU55nU(a�UR5unnUU;a U(aUURUU5 M@[U5[U5-
S-
nUUU'U(aUURU5 URU5HnURUU45 M U(aM�X�R4$)ztBuilds a numeric revision graph for the given two nodes.
Returns a node->rev map and a rev->[revs] parent function.
c3�:># �UHoT;dM
SU4v� M g7frr1)�.0�n�
allparentss  �r�	<genexpr>�/remotefilelog._buildrevgraph.<locals>.<genexpr>�s����"
�)�!�j�-@�I�T�1�I�z�s�	�r)r_�collections�defaultdict�listr\r�r7r]r`rW�dequerar[rM�
appendleftr�)rr�r��amap�bmap�
parentsmap�mappingr#�pdatar�rTrUrSrfr�r�ri�prevrev�current�
currentrev�parentr�s                     @rr��remotefilelog._buildrevgraph�s��������"������"��!�,�,�T�2�
��U�
��|�G�&�}�}����$�*��-2�*������)�)�)�(��N�N�2�&��N�N�2�&����)�)�)��N�N�2�&��N�N�2�&� /�$�!�,�,�T�2�
����!�!�"
�)�"
�
���$�y�y�{��G�W��&� ���w�'�.�.�v�g��?���Z��3�v�;�6��:�J�(�F�7�O���7�#�*�*�:�6�$�.�.��1��� � �*�f�!5�6�2��e�$�-�-�-�-rc��grr1)r�minlinkrRs   r�strip�remotefilelog.strip�s��rc��/$rr1r�s r�files�remotefilelog.files�s���	rc��g)N)rrr1r�s r�	checksize�remotefilelog.checksize�r�r)r=rr9r6r7r:)NN)NFFFNNN)�returnz#Iterator[repository.irevisiondelta])F),r,r-r.r/r�RevlogError�_flagserrorclassrrGrWrqr
�REVIDX_DEFAULT_FLAGSrOrwr�r��rawsizer�r��__bool__r�r�r�rbr�r�rSr�r�r�r�r�r#rBr�r_rr�r�rrrr0r1rrr3r34s���(�(��=��
�7�@�
��)�)�� 
�V��*�X�$��G�
 ���H�1���P�	�!�
�
I���"'�����)�
-�)�VH����B�6.�I� �
.�/.�b
��rr3)�
__future__rr�typingr�mercurial.noder�mercurial.i18nr�	mercurialrrr	r
�mercurial.interfacesr�mercurial.utilsr�mercurial.revlogutilsr
�rrrr3r1rr�<module>r(sL��#��������(�*����m�mr

Youez - 2016 - github.com/yon3zu
LinuXploit