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__/shallowrepo.cpython-313.pyc
�

6�h�-���SSKJr SSKrSSKJr SSKJrJr SSKJ	r	J
r
JrJrJ
r
JrJr SSKJr SSKJrJrJrJrJrJrJrJrJrJr S	rS
rSrSr S
r!Sr"g)�)�annotationsN)�_)�hex�nullrev)�encoding�error�	localrepo�match�scmutil�sparse�util)�procutil�)
�connectionpool�	constants�contentstore�datapack�fileserverclient�historypack�
metadatastore�
remotefilectx�
remotefilelog�shallowutilc�x�[RRURRR
S5n[RR
U5(d[R"U5 [R"XURSS9n[R"XURSS9nX#4$)z:In-repo stores, like .hg/store/data; can not be discarded.sdataF��shared)
�os�path�join�svfs�vfs�base�exists�makedirsr�remotefilelogcontentstore�namer�remotefilelogmetadatastore)�repo�	localpath�localcontent�
localmetadatas    �A/usr/lib/python3/dist-packages/hgext/remotefilelog/shallowrepo.py�makelocalstoresr-(s��������T�Y�Y�]�]�/�/��9�I�
�7�7�>�>�)�$�$�
���I�� �9�9�����5��L�"�<�<�����5��M��&�&�c�@�[R"UR5n[R"XUR
SS9n[R"XUR
SS9nX lURRU5 URRU5 X#4$)z?Typically machine-wide, cache of remote data; can be discarded.Tr)r�getcachepath�uirr%r&rr'�sharedstore�shareddatastores�append�sharedhistorystores)r(�	cachepath�cachecontent�
cachemetadatas    r,�makecachestoresr98s����(�(����1�I��9�9�����4��L�"�<�<�����4��M�$����� � ��.����#�#�M�2��&�&r.c���[R"U5Ul[R"URURU5n[
R"URURU5nX44$)z-These stores fetch data from a remote server.)r�fileservicer�remotecontentstorer1r�remotemetadatastore)r(r7r8�
remotecontent�remotemetadatas     r,�makeremotestoresr@Jsf��(�8�8��>�D�� �3�3�����!�!�<��M�#�6�6�����!�!�=��N��(�(r.c��[R"U[R5n[R
"URU5n[R"URU5nURRU5 URRU5 [R"URSX#5 X#4$)z5Packs are more efficient (to read from) cache stores.�	filestore)
r�getcachepackpathr�FILEPACK_CATEGORYr�
datapackstorer1r�historypackstorer3r4r5�reportpackmetrics)r(�packpath�packcontentstore�packmetadatastores    r,�makepackstoresrKWs����+�+�D�)�2M�2M�N�H��-�-�d�g�g�x�@��#�4�4�T�W�W�h�G����� � �!1�2����#�#�$5�6��!�!�����/���.�.r.c��/Ul/Ul[U5up[U5up4[	U5upV[XU5upx[R"UUUUUS9Ul[R"UUUUUS9UlUn	Un
URRURURU	U
5 [R"URSX5 g)zBUnion stores iterate the other stores and return the first result.)�
writestorerBN)r3r5rKr9r-r@r�unioncontentstorer�unionmetadatastorer;�setstorerrGr1)r(rIrJr7r8r*r+r>r?�fileservicedatawrite�fileservicehistorywrites           r,�makeunionstoresrSfs����D��!�D��*8��*>�'��"1�$�"7��L�"1�$�"7��L�$4��M�%�!�M�
%�6�6�������D��'�9�9����� ��D��(��+���������������	��!�!�����/�r.c�.^�"U4SjSTR5nUTl[R"5Tl[	T5 TR
R
SSS5TlTR
R
SSS5Tl[TS5(d[R"T5Tl
TR(dTR(a>[R"TRSSTRTR5Tlgg)Nc�>^�\rSrSr\R
S5r\R
U4Sj5rU4SjrU4Sjr	U4Sjr
\RS
U4Sjj5r
SU4SjjrSU4S	jjrSU4S
jjrU4SjrSrU=r$)�#wraprepo.<locals>.shallowrepository�c�:�URRSS5$)N�
remotefilelogsreponame)r1�config)�selfs r,r&�(wraprepo.<locals>.shallowrepository.name�s���7�7�>�>�"2�K�@�@r.c�>�TRRSSTRRSS55nU(d[R"S5eU$)NrYsfallbackpathspathssdefaults>no remotefilelog server configured - is your .hg/hgrc trusted?)r1rZr�Abort)r[rr(s  �r,�fallbackpath�0wraprepo.<locals>.shallowrepository.fallbackpath�sO����7�7�>�>� �������x��4��D�
��k�k�>���
�Kr.c�>�U(a[R"TUS9nO[R"T5nUR5(agU$)z�
A wrapper that allows the remotefilelog to invoke sparsematch() if
this is a sparse repository, or returns None if this is not a
sparse repository.
)�revsN)r�matcher�always)r[rb�kwargs�retr(s    �r,�maybesparsematch�4wraprepo.<locals>.shallowrepository.maybesparsematch�s9�����n�n�T��5���n�n�T�*���z�z�|�|���Jr.c�>�USS:XaUSSnURU5(a![R"URX5$[TU]U5$)Nr�/r)�shallowmatchrr �super�file)r[�f�	__class__s  �r,rm�(wraprepo.<locals>.shallowrepository.file�sO�����t�t�|��a�b�E��� � ��#�#�$�2�2�4�9�9�a�F�F��w�|�A��&r.c�>�URU5(a[R"X/UQ70UD6$[TU]"U/UQ70UD6$�N)rkrrl�filectx)r[r�argsreros    �r,rs�+wraprepo.<locals>.shallowrepository.filectx�sH���� � ��&�&�$�2�2�4�O��O��O�O��w��t�=�d�=�f�=�=r.c�>�UR5(d�UR5R5n/nUR5UR	5-HKnURX`R5nXpR:wdM/URU[U545 MM URRU5 [TU]1XUS9$)zcAdd a new revision to current repository.
Revision information is passed via the context argument.
)r�origctx)
�manifestnode�p1�manifest�modified�added�get�nullidr4rr;�prefetchrl�	commitctx)	r[�ctxrrw�m1�filesrn�fparent1ros	        �r,r��-wraprepo.<locals>.shallowrepository.commitctx�s�����#�#�%�%��V�V�X�&�&�(��������#�)�)�+�5�A�!�v�v�a���5�H��;�;�.����a��X��%7�8�6�� � �)�)�%�0��7�$�S�w�$�G�Gr.c�`>�[R"5STRS/nU(aURS5 U(aUSU/-
n0nTRRSS5(aTRRUS'[R"U[R4SS	0UD6 g
)z0Runs prefetch in background with optional repacks-Rsprefetchs--repacks-rsdevelsremotefilelog.bg-wait�record_wait�ensurestartFN)
r�hgexecutable�origrootr4r1�
configbool�atexit�runbgcommandr�environ)	r[rbr"�repack�pats�opts�cmdrer(s	        �r,�backgroundprefetch�6wraprepo.<locals>.shallowrepository.backgroundprefetch�s�����(�(�*�E�4�=�=�+�N�C���
�
�;�'����t�}�$���F��w�w�!�!�(�,D�E�E�(,������}�%��!�!��X�%�%�
�38�
�<B�
r.c
��>�TRTRSSSS[S5TR-5 UR	XX45 SSS5 g!,(df   g=f)zdPrefetches all the necessary file revisions for the given revs
Optionally runs repack in background
sprefetchlockTNsprefetching in %s)�_lockr rr��	_prefetch)r[rbr"r�r�r(s     �r,r�,wraprepo.<locals>.shallowrepository.prefetch�sV�������	�	������&�'�$�-�-�7�
����t�4�6����s�A�
A"c�>^^�URnU(aGTRSU5nUb1U[:wa'[TRSX&55nU(aUSnOTnTRnURS5n	Ub>UTUR
5R5n
[U
R55nO
[5nUR5nUR5n
[5nUR[5 [U5nURR[S5US9nUR!S5 [#U5H�nTUnU(a[$R&"UX45mTR)U5mUR
5nU	R+U5nUUR-U5Sn
U
R5nU(aU4SjU5nT(aU4S	jU5nUU;aU
R!U5 OUR!U5 URU5 UR/5 M� UR1U5 U
R1U5 UR35 U
(a<U
VVs/sHunnU[5U54PM nnnTR6R9US
S9 U(a>UVVs/sHunnU[5U54PM nnnTR6R9U5 ggs snnfs snnf)Nsoutgoing(%s)sfirst(reverse(::%s) - %ld)rr.sprefetching)�totalrc3�L># �UHnT"US5(dMUv� M g7f�rN�)�.0�pf�ms  �r,�	<genexpr>�@wraprepo.<locals>.shallowrepository._prefetch.<locals>.<genexpr>)s����:��2��2�a�5��B�B����$�	$c3�L># �UHnT"US5(dMUv� M g7fr�r�)r�r��sparsematchs  �r,r�r�+s����D��2��R��U�1C�B�B��r�T)�force)r_rbr�list�manifestlog�
getstoragerx�read�set�items�copy�add�lenr1�makeprogressr�update�sortedrr
rg�rev�read_any_fast_delta�	increment�difference_update�completerr;r)r[rbr"r�r�r_�	localrevs�
serverbase�mfl�mfrevlog�mfdict�skipr��serverfiles�visited�revcount�progressr�r��mfnode�mfrev�diffr�fnode�resultsr�r�r(s                         @@�r,r��-wraprepo.<locals>.shallowrepository._prefetch�s�����,�,�L��!�I�I�o�|�D�	��#����!%��	�	�9�4��"�J�
"�)�!�}��� �	��"�"�C��~�~�c�*�H����T�$�Z�4�4�6�7�<�<�>���6�<�<�>�*���u���I�I�K�E��)�)�+�K��e�G��K�K�� ��4�y�H��w�w�+�+�A�n�,=�X�+�N�H��O�O�A���d�|���3�i����
�
�c�4�6�A�"�3�3�C�8���)�)�+�� ���V�,���V��8�8��A�!�D���|�|�~���:��:�D��D��D�D��i�'��&�&�t�,��L�L��&����E�"��"�"�$�1$�4
�#�#�D�)��)�)�$�/������CN�O�;�-�4��D�#�e�*�-�;��O�� � �)�)�'��)�>��CH�I�5�-�4��D�#�e�*�-�5��I�� � �)�)�'�2���	P��
Js�K?�Lc�V>�[TU]5 URR5 grr)rl�closer)r[ros �r,r��)wraprepo.<locals>.shallowrepository.closeBs����G�M�O����%�%�'r.r�)FN)NFNN)NNN)�__name__�
__module__�__qualname__�__firstlineno__r
�
propertycacher&r_rgrmrsr	�unfilteredmethodr�r�rr�r��__static_attributes__�
__classcell__)ror(s@�r,�shallowrepositoryrV�s����	
�	�	�	A�
�	A�
�	�	�	�
�	�
	�	'�	>�
�	#�	#�	H�
$�	H�(BF�	�&	7�I	3�V	(�	(r.r�rYsincludepatternsexcludepatternrr.)ror
rdrkrSr1�
configlist�includepattern�excludepattern�hasattrr�root)r(r�s` r,�wraprepor��s����t(�D�N�N�t(�l'�D�N�����D���D���'�'�,�,��+�T��D���'�'�,�,��+�T��D���4�)�*�*�,�;�;�D�A������d�1�1�!�K�K��I�I�s�D�$�"5�"5�t�7J�7J�
���2r.)#�
__future__rr�mercurial.i18nr�mercurial.noderr�	mercurialrrr	r
rrr
�mercurial.utilsr�rrrrrrrrrrr-r9r@rKrSr�r�r.r,�<module>r�sV��#�	��'����%���� 
'� '�$
)�/�&�RI
r.

Youez - 2016 - github.com/yon3zu
LinuXploit