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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

6�h�q��\�SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKJ	r	 SSK
Jr SSKJ
r
 SSKJrJrJrJrJrJrJrJrJr SSKJrJr SS	KJr \R@"S
5r!"SS\R05r""S
S\"5r#"SS\RH5r%"SS5r&Sr'"SS\RPRR5r*"SS5r+"SS5r,"SS5r-"SS5r.\+\+\,\-\.S.r/Sr0S r1S&S!jr2"S"S#\Rf5r4"S$S%\Rj5r6g)'�)�annotationsN)�Optional)�_)�hex)	�encoding�error�httpconnection�pathutil�pycompat�url�util�vfs�worker)�
stringutil�urlutil�)�lfutils\A[a-f0-9]{64}\Zc�6^�\rSrSrSU4SjjrSSjrSrU=r$)�lfsvfs�/c�>�[RU5(d[R"SU-5e[TU]"USSUSS/UQ76$)z9split the path at first two characters, like: XX/XXXXX...sunexpected lfs path: %srrN)�_lfsre�matchr�ProgrammingError�super�join)�self�path�insidef�	__class__s   ��5/usr/lib/python3/dist-packages/hgext/lfs/blobstore.pyr�lfsvfs.join0sK����|�|�D�!�!��(�(�)C�d�)J�K�K��w�|�D��1�I�t�A�B�x�:�'�:�:�c
#��# �[RRUR5n[	[
R"U55n/n[R"URURU=(d S5US9H]upgnXdSn[	U5S:XdMURUV	s/sH%n	[RXi-5(dM!Xi-PM' sn	5 M_ S/U4v� gs sn	f7f)zxYield (dirpath, [], oids) tuple for blobs under path

Oids only exist in the root of this vfs, so dirpath is always ''.
r#)�onerrorNr)�osr�normpath�base�lenr
�normasprefix�walk�reljoin�extendrr)
rrr%�root�	prefixlen�oids�dirpath�dirs�files�fs
          r!r+�lfsvfs.walk6s����
�w�w����	�	�*����-�-�d�3�4�	���$&�G�G��L�L����D�K�C�0�'�%
� �G�5��j�)�G��7�|�q� ����*/�M�%�Q�6�<�<���3L�[�W�[�%�M��%
��B��o���N�s�BC3� C3�/ C.
�C.
�C3�)r�Optional[bytes]r�bytes�returnr8�NN)�__name__�
__module__�__qualname__�__firstlineno__rr+�__static_attributes__�
__classcell__�r s@r!rr/s���;��r#rc�B�\rSrSrSrS	S
SjjrSrSSjrSSjrSr	g)
�nullvfs�Oc��g�Nr6�rs r!�__init__�nullvfs.__init__P���r#Nc��g)NFr6)rrs  r!�exists�nullvfs.existsSs��r#c�d�[[R[R"SU-55e)Ns%s: No such file or directory)�OSError�errno�ENOENTr�sysstr�r�oids  r!�read�nullvfs.readVs*��
��L�L��O�O�<�s�B�C�
�	
r#c��S//4$)Nr#r6)rrr%s   r!r+�nullvfs.walk`s���R��}�r#c��g)Nrr6)r�args�kwargss   r!�write�
nullvfs.writecs��r#r6rF)rr7r9�boolr:)r9�int)
r;r<r=r>rHrLrUr+r\r?r6r#r!rCrCOs��
��
��r#rCc�2^�\rSrSrSrU4SjrSrSrU=r$)�
lfsuploadfile�gz+a file-like object that supports keepalive.c�\>�[TU]XS5 URRUlg�Nsrb)rrH�_datarU)r�ui�filenamer s   �r!rH�lfsuploadfile.__init__js!���
����u�-��J�J�O�O��	r#c��grFr6rGs r!�
_makeprogress�lfsuploadfile._makeprogressns��r#)rU)	r;r<r=r>�__doc__rHrjr?r@rAs@r!rarags���5�$��r#rac�^�\rSrSrSrSrSrSrSrSr	Sr
S	rSS
jrSr
SrS
rSrg)�local�rz�Local blobstore for large file contents.

This blobstore is used both as a cache and as a staging area for large blobs
to be uploaded to the remote blobstore.
c�@�URRS5n[U5UlURRSS5(a[
5UlO1[R"URS5n[U5UlURUlg)Nslfs/objects�experimentalslfs.disableusercache�lfs)
�svfsrrrrf�
configboolrC�cachevfsr�
_usercachedir)r�repo�fullpath�	usercaches    r!rH�local.__init__ysn���9�9�>�>�.�1���(�#����7�7���o�/F�G�G�#�I�D�M��,�,�T�W�W�f�=�I�"�9�-�D�M��'�'��r#c�8�[URU5S5$)z_Open a read-only file descriptor to the named blob, in either the
usercache or the local store.�rb)�openrrSs  r!r}�
local.open�s���D�I�I�c�N�D�)�)r#c��URRU5(aURRU5$URRU5$)aKBuild the path for the given blob ``oid``.

If the blob exists locally, the path may point to either the usercache
or the local store.  If it doesn't, it will point to the local store.
This is meant for situations where existing code that isn't LFS aware
needs to open a blob.  Generally, prefer the ``open`` method on this
class.
)rurLrrrSs  r!r�
local.path�sA���=�=����$�$��=�=�%�%�c�*�*��x�x�}�}�S�!�!r#c��[R"5nSnURUSSS9n[R"USS9H3nURU5 UR
U5 U[U5-
nM5 Ub4[U5U:wa%Sn[[U5U[U5U4-5e[UR55n	X�:wa[[S	5U-5eSSS5 URU5 g!,(df   N =f)
zfRead the blob from the remote source in chunks, verify the content,
and write to this local blobstore.r�wbT��
atomictemp���sizeNsEResponse length (%d) does not match Content-Length header (%d) for %sscorrupt remote lfs object: %s)�hashlib�sha256rr
�
filechunkiterr\�updater)r_�LfsRemoteErrorrr�digest�LfsCorruptionError�_linktousercache)
rrT�src�content_lengthr�r��fp�chunk�msg�realoids
          r!�download�local.download�s������!����
�X�X�c�5�T�X�
2�b��+�+�C�g�>��������
�
�e�$���E�
�"��?��)�c�.�.A�T�.I�*��%�Q�s�V�t�S��5H�#�.N�%N�O�O��&�-�-�/�*�G��~�(��6�7�#�=����/3�8	
���c�"�93�
2�s�B9C=�=
Dc��URUSSS9nURU5 SSS5 URU5 g!,(df   N =f)z�Write blob to local blobstore.

This should only be called from the filelog during a commit or similar.
As such, there is no need to verify the data.  Imports from a remote
store must use ``download()`` instead.r�Tr�N)rr\r�)rrT�datar�s    r!r\�local.write�sA���X�X�c�5�T�X�
2�b��H�H�T�N�3�	
���c�"�3�
2�s	�>�
Ac�f�[UR[5(d�URR	U5(dqUR
R
[S5U-5 [R"URRU5URRU55 ggg)a_Link blobs found in the user cache into this store.

The server module needs to do this when it lets the client know not to
upload the blob, to ensure it is always available in this store.
Normally this is done implicitly when the client reads or writes the
blob, but that doesn't happen when the server tells the client that it
already has the blob.
�lfs: found %s in the usercache
N)�
isinstancerurCrrLrf�noterr�linkrrSs  r!�linkfromusercache�local.linkfromusercache�su���$�-�-��1�1�$�(�(�/�/�#�:N�:N��G�G�L�L��>�?�#�E�F��K�K��
�
�*�*�3�/������s�1C�D�;O�1r#c�f�URRU5(d�[UR[5(dqURR[
S5U-5 [R"URRU5URRU55 ggg)Ns lfs: adding %s to the usercache
)rurLr�rCrfr�rrr�rrrSs  r!r��local._linktousercache�s}���}�}�#�#�C�(�(���M�M�7�2
�2
�
�G�G�L�L��?�@�3�F�G��K�K����
�
�c�*�D�M�M�,>�,>�s�,C�D�	2
�(r#c�X�URRU5(d�URURX5nU(d1[	[
R"U5R55U:XapURR[S5U-5 [R"URRU5URRU55 U$URR[S5U-5 URURX5nU$)zRead blob from local blobstore.r�s%lfs: found %s in the local lfs store
)rrL�_readrurr�r�r�rfr�rrr�r)rrT�verify�blobs    r!rU�
local.read�s����x�x���s�#�#��:�:�d�m�m�S�9�D���W�^�^�D�1�8�8�:�;�s�B������Q�B�C�c�I�J����D�M�M�.�.�s�3�T�X�X�]�]�3�5G�H���
�G�G�L�L��D�E��K�L��:�:�d�h�h��4�D��r#c�L�URU5nU(a[X$5 U$)z0Read blob (after verifying) from the given store)rU�_verify)rrrTr�r�s     r!r��local._read�s���x�x��}����C���r#c��[R"5nURU5n[R"USS9HnURU5 M SSS5 U[
UR55:H$!,(df   N*=f)zIIndicate whether or not the hash of the underlying file matches its
name.r�r�N)r�r�r}r
r�r�rr�)rrTr�r�r�s     r!r��local.verify�se�����!��
�Y�Y�s�^�r��+�+�B�W�=���
�
�e�$�>���c�&�-�-�/�*�*�*�	�^�s�.A9�9
Bc�|�URRU5=(d URRU5$)zQReturns True if the local blobstore contains the requested blob,
False otherwise.)rurLrrSs  r!�has�	local.hass+���}�}�#�#�C�(�@�D�H�H�O�O�C�,@�@r#)rurfrN)T)r;r<r=r>rlrHr}rr�r\r�r�rUr�r�r�r?r6r#r!rnrnrsB���	�*�
"�("#�H	#�E�E��$�	+�Ar#rnc���Un[UR[5(aURn[US5(aGURRSn[U[5(a[R"U5nU$[USS5(a [R"UR5$[R"U5$![
[4a URnN�f=f)zZCreate a friendly message for the given URLError to be used in an
LfsRemoteError message.
�reason��strerrorN)r�r��	Exception�hasattrrZ�AttributeError�
IndexError�strr�
unitolocal�getattr�
strtolocalr�r�forcebytestr)�urlerror�instr�s   r!�_urlerrorreasonr�s����D��(�/�/�9�-�-������t�X���	!��[�[�%�%�a�(�F��f�c�"�"��(�(��0�F��
�	��z�4�	(�	(��"�"�4�=�=�1�1��&�&�x�0�0���
�+�	!��[�[�F�	!�s�C�C-�,C-c��\rSrSrSrSrSrg)�lfsauthhandleri%i�c�$�URSS5nU(awUR5SnUR5S:waP[S5n[R
R
UR5U[R"U5UU5eg)zpEnforces that any authentication performed is HTTP Basic
Authentication.  No authentication is also acceptable.
zwww-authenticateNr�basics,the server must support Basic Authentication)
�get�split�lowerrr
�urlerr�	httperror�get_full_urlr�strfromlocal)r�reqr��coder��headers�authreq�schemes        r!�http_error_401�lfsauthhandler.http_error_401(s����+�+�0�$�7����]�]�_�Q�'�F��|�|�~��(��G�H���k�k�+�+��$�$�&���)�)�#�.�����r#r6N)r;r<r=r>�
handler_orderr�r?r6r#r!r�r�%s���M�r#r�c�J�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
g)
�
_gitlfsremotei<c��URnX0lUR5upEURS5UlURR	SS5nU(dS[
R"5-n[R"X5U5Ul	URR[55 URSS5Ul
g)N�/rqslfs.user-agentsgit-lfs/2.3.4 (Mercurial %s)rrsretry)rf�authinfo�rstrip�baseurl�configr
�version�urlmod�opener�	urlopener�add_handlerr��	configint�retry)rrwrrfr�r��	useragents       r!rH�_gitlfsremote.__init__=s���
�W�W�����L�L�N����~�~�d�+����G�G�N�N�?�4E�F�	��7�$�,�,�.�H�I����r�Y�?������"�"�>�#3�4��\�\�&�(�3��
r#c�<�UR[U5US5 g)z,Batch upload from local to remote blobstore.�uploadN��_batch�_deduplicate�r�pointers�	fromstores   r!�
writebatch�_gitlfsremote.writebatchIs�����L��*�I�y�Ar#c�<�UR[U5US5 g)z-Batch download from remote to local blostore.�downloadNr��rr��tostores   r!�	readbatch�_gitlfsremote.readbatchMs�����L��*�G�[�Ar#c��UVs/sH8n[R"UR55UR5S.PM: nn[R"[
R"U[R"U5S.55nSUR-n[RR[R"U5US9nURSS5 URSS5 [R"URRU55nUR!5n	SSS5 [R6"W	5n
UR<R>(a�UR<RASWRB-5 [RD"URG55RI5nUR<RASSRK[MURO555-5 SU
;a[MU
SSS9U
S'UR<RAS[R"[
R"U
SSSS95-5 Sn[RP"X�5$s snf!,(df   GN[=f![R"R$a�n
['S	5URU4-['S
5UR-S.nUR)U
R*['S5Xb4-5n[-['S
5[.R0"U
5-US9eSn
A
f[R"R2a<n
['S
5UR-n[-['S5[5U
5-US9eSn
A
ff=f![8a' [-['S5W	R;S5-5ef=f)z�Get metadata about objects pointed by pointers for given action

Return decoded JSON object like {'objects': [{'oid': '', 'size': 1}]}
See https://github.com/git-lfs/git-lfs/blob/master/docs/api/batch.md
)rTr�)�objects�	operations%s/objects/batch)r��Acceptzapplication/vnd.git-lfs+json�Content-TypeNs=check that lfs serving is enabled on %s and "%s" is supporteds/the "lfs.url" config may be used to override %s)i��sapi=%s, action=%ssLFS HTTP error: %s��hint�
LFS error: %ss#LFS server returns invalid JSON: %s�utf-8�Status: %d
�%s
�
r�c��US$)NrTr6)�ps r!�<lambda>�-_gitlfsremote._batchrequest.<locals>.<lambda>�s��q��xr#��keyr)�z: T)�indent�
separators�	sort_keysc�R�[U[5(aURS5$U$)Nr�)r�r��encode)�xs r!�	encodestr�._gitlfsremote._batchrequest.<locals>.encodestr�s#���!�S�!�!��x�x��(�(��Hr#))r�strurlrTr��bytesurl�json�dumpsr�r
�urlreq�request�
add_header�
contextlib�closingr�r}rUr�r�rr�r�r�rr�r�r��
json_loads�
ValueErrorr
rf�	debugflag�debug�status�bytestr�info�stripr�sorted�
splitlines�rapply)rr��actionrr��requestdatar�batchreq�rsp�rawjson�ex�hintsr��responser�rs                r!�
_batchrequest�_gitlfsremote._batchrequestQs6���
����O�O�A�E�E�G�,�a�f�f�h�?��	�
��'�'��J�J�&�!)����!8��
�
��"�D�L�L�0���;�;�&�&�x���s�';�+�&�N�����H�&D�E����N�,J�K�	��#�#�D�N�N�$7�$7��$A�B�c��(�(�*��C�2	��*�*�7�3�H��7�7����G�G�M�M�/�C�J�J�6�7��&�&�s�x�x�z�2�8�8�:�G��G�G�M�M�'�E�J�J�v�g�6H�6H�6J�/K�$L�L�M��H�$�&,��Y�'�-?�'���#�
�G�G�M�M���#�#��J�J� � �#-�"&�	���

�	�
���y�3�3��[
�"C�B���{�{�$�$�	��!���<�<��(�	)�
�I�J��,�,��
�E��9�9�R�W�W�a�(<�&=��
�&M�N�D� ��'�(�:�+B�+B�2�+F�F���
���{�{�#�#�	��D�E��,�,��
�!��"�#�o�b�&9�9���
��	���	� ��8�9��.�.��)�*��
�	�sT�?I<�-/J�J�-J�6N�
J�J�J�N�1BL7�7!N�7N�N�1Oc���UH�nSU;a US:XaX4RS/5;aSnO#M)URS5RSS5nUVs0sHofR5U_M nnURUSS5nU(aA[US	S
5nSSS
SS.n	U	RUSU-5n
[[	S5X�4-5e[[	S5US-5e gs snf)zMScans errors from objects

Raises LfsRemoteError if any objects have an errorserrorr��actionsr�scode���oidNrgsunknownsThe object does not exists#The object was removed by the ownersValidation errorsInternal server error)r�i�i�r1sstatus code %dsLFS server error for "%s": %ss1LFS server error. Unsolicited response for oid %s)r�rTr�r�r)rr��	responsesr%r,r�r�ptrmaprg�errorsr�s           r!�_checkforservererror�"_gitlfsremote._checkforservererror�s��"�H�
�x�'��[�(�V�<�<���<�.��D�� �|�|�H�-�1�1�'�3�?��*2�3�(�Q�e�e�g�q�j�(�F�3��
�
�8�F�+�T�2�A��"�1�j�*�=��5�?�,�1�	���j�j��'8�4�'?�@��$��6�7�8�/�I���%��J�K��v�&�'���A"��"4s�C'c��URS/5nURX$U5 UVs/sHoSURS/5;dMUPM nnU$s snf)z�extract objects from response of the batch API

response: parsed JSON object returned by batch API
return response['objects'] filtered by action
raise if any object has an error
sobjectsr0)r�r6)rr,r�r%r��o�filteredobjectss       r!�_extractobjects�_gitlfsremote._extractobjects�s_���,�,�z�2�.���!�!�(�V�<�
�
��!�A�E�E�*�b�,A�"A�A�w�	�
����	
s�A�Ac
���USnUSURS5nUSURS05R5n[RR	[
R"U55nUS:Xa@URU5(d*[R"[S5U-[S5S9eUH?up�UR[
R"U5[
R"U	55 MA US:Xaj[URURU55UlS	UlURS
S5 URSURR"5 [$R&"UR(R+U55n
U
R-5RS
5nURnURR.(a�UR1SU
R2-5 [
R4"U
R-55R75nUR1SSR9[;UR=555-5 US:XaUR?XJU5 O\/n
U
RAS5nU(dOU
RCU5 M,SR9U
5nU(aUR1SX/4-5 SSS5 UR(aURRY5 gg!,(df   N;=f![RDRFa{nURR.(a.URR1SUURA54-5 [I[S5[JRL"U5XB4-5eSnAf[RDRNacn[S5[
RP"[RRRUU55-n[I[S5[WU5-US9eSnAff=f!UR(aURRY5 ff=f)aDownload or upload a single object using basic transfer protocol

obj: dict, an object description returned by batch API
action: string, one of ['upload', 'download']
localstore: blobstore.local

See https://github.com/git-lfs/git-lfs/blob/master/docs/api/        basic-transfers.md
r2r0shrefsheaderr��detected corrupt lfs object: %s�
run hg verifyr�c��g)N�PUTr6r6r#r!r�._gitlfsremote._basictransfer.<locals>.<lambda>�s��Ur#r�zapplication/octet-streamzContent-Lengthscontent-lengthr�rrr�r�r#slfs %s response: %sNs%s: %s
s&LFS HTTP error: %s (oid=%s, action=%s)sattempted connection to %sr�)-r��itemsr
rrrrr�r�Abortrrrarfrr��
get_method�lengthrrr�r}r rrrrr!rr"r#r�rU�appendr�r�r�rr�r�r�urllibcompat�
getfullurlr��close)r�objr%�
localstorerT�hrefr�r�k�v�res�
contentlengthrf�blocksr�r,r*r�s                  r!�_basictransfer�_gitlfsremote._basictransfer�s���&�k���:��v�&�*�*�7�3���j�/�&�)�-�-�i��<�B�B�D���+�+�%�%�h�o�o�d�&;�<���Y���$�$�S�)�)��k�k��8�9�C�?��+�,���
�D�A����x���q�1�8�?�?�1�3E�F��2	%���"�,�T�W�W�j�o�o�c�6J�K���%2��"��"�"�>�3M�N��"�"�#3�W�\�\�5H�5H�I��#�#�D�N�N�$7�$7��$@�A�S� #���
���/@� A�
��W�W���7�7�$�$��H�H�_�s�z�z�9�:�'�.�.�s�x�x�z�:�@�@�B�G��H�H�W�u�z�z�&��9K�9K�9M�2N�'O�O�P��[�(��'�'��-�@��F��"�x�x��0��#�!��
�
�d�+�	� #�x�x��/�H�����!7�6�:L�!L�M�1B�T�|�|����"�"�$��UB�A��2�{�{�$�$�	��w�w� � ����
�
��3����	�"2�2��!��;�<��*�*�2�.��<�=��
���{�{�#�#�	��2�3�h�6G�6G��!�!�,�,�W�5�7��D�!��"�#�o�b�&9�9���
��		���|�|����"�"�$��sX�BL-�!EL�'L-�
L*�&L-�)Q�*L-�-Q�A6O�!Q�"AQ�Q�Q�.Q6c�,^^^�TS;a[R"ST-5eTRUT5nTRXAT5n[	SU55n0nUH&nURSS5XxRS5'M( [
S5[
S5S.Tn	[U5S	:�aFTRR[
S
5[U5[R"U54-5 UUU4Sjn
TRRSS
5(a3U4Sjn[R"TRSU
S[USS9US9nOU
"[USS95nTRRU	[
S5US9n
U
R!S5 SnSnUHJunnX�U-
nUS	-
nU
R!U5 TRR[
S5U-5 ML SSS5 WS:�a�TS:Xa>TRR#[
S5U[R"W54-5 gTS:Xa>TRR#[
S5U[R"W54-5 ggg!,(df   N�=f)N)r�r�sinvalid Git-LFS action: %sc3�D# �UHoRSS5v� M g7f)�sizerN�r�)�.0rs  r!�	<genexpr>�'_gitlfsremote._batch.<locals>.<genexpr>6s���7�w�!�E�E�'�1�%�%�w�s� rWrr2s
lfs uploadingslfs downloadingr�s&lfs: need to transfer %d objects (%s)
c3�t># �UH�nURSS5nTRR(afTS:Xa[S5nOTS:Xa[S5nTRR	WURS5[
R"U54-5 TRnTRUTT5 SURS54v� M� g![aTnUS:�aHTRR	[S	5[R"U5U4-5 US-nSnAM�eSnAff=f7f)
NrWrr�slfs: downloading %s (%s)
r�slfs: uploading %s (%s)
r2r�s%lfs: failed: %r (remaining retry %d)
)r�rf�verboserr�r
�	bytecountr�rSrOrr�)	r�rK�objsizer�r�r*r%rLrs	      ���r!�transfer�&_gitlfsremote._batch.<locals>.transferDs�������'�'�'�1�-���7�7�?�?���,�� =�>���9�,�� ;�<���G�G�L�L��s�w�w�v�����w�0G�H�H���
�
�����+�+�C���D�������0�0���� #�� �1�9� �G�G�L�L� !�"K� L�#-�#:�#:�2�#>��"F�!G��"�Q�J�E�$����s7�B&D8�*(C�D8�
D5�!AD0�)D8�/D0�0D5�5D8rqslfs.worker-enablec�f>�TRRHn[USS5"5 M g)N�	close_allc��grFr6r6r#r!r�7_gitlfsremote._batch.<locals>.prefork.<locals>.<lambda>ns��Dr#)r��handlersr�)�hrs �r!�prefork�%_gitlfsremote._batch.<locals>.preforkls&������0�0�A��A�{�L�9�;�1r#g�������?r6c�$�URS5$�Nr2rX�r9s r!r�&_gitlfsremote._batch.<locals>.<lambda>us��a�e�e�F�mr#r)rhc�$�URS5$rkrXrls r!rrmys��!�%�%��-r#sbytes)�unit�totalslfs: processed: %s
r�slfs: uploaded %d files (%s)
r�slfs: downloaded %d files (%s)
)rrr-r;�sumr�rr)rfr�r
r^rtrr"�makeprogressr�r)rr�rLr%r,r�rp�sizesrK�topicr`rhr0�progress�	processed�blobs�_onerTs` ``              r!r��_gitlfsremote._batch0se����1�1��(�(�)F��)O�P�P��%�%�h��7���&�&�x�6�B���7�w�7�7�����C�%(�W�W�W�a�%8�E�'�'�&�/�"���)�*��-�.�
�����w�<�!���G�G�L�L��<�=��w�<�����!6�7�8�
�
	�<�7�7���o�/C�D�D�
<��=�=��������w�$;�<��
�D��F�7�0G�H�I�D�
�W�W�
!�
!���(��5�"�
�
��O�O�A���I��E�!�	��c��3�Z�'�	���
�����	�*������Q�6�7�#�=�>�	"�

��1�9���"�������6�7��d�n�n�Y�7�8�9���;�&�������8�9��d�n�n�Y�7�8�9��'�
�
�
�s
�A&J�
Jc��[USS5nU(a7URH&nUR5 [USS5"5 M( gg)Nr�rcc��grFr6r6r#r!r�'_gitlfsremote.__del__.<locals>.<lambda>�s��r#)r�rfrJ)rr�rgs   r!�__del__�_gitlfsremote.__del__�s@���D�+�t�4�	���'�'�����	���;��5�7�(�r#)r�r�rfr�N)r;r<r=r>rHr�r�r-r6r;rSr�r}r?r6r#r!r�r�<s8��
4�B�B�S4�j'�R�&L%�\a�F8r#r�c�*�\rSrSrSrSrSrSrSrg)�_dummyremotei�z,Dummy store storing blobs to temp directory.c�p�URRSUR5n[U5Ulg)Nrr)rrrr)rrwrrxs    r!rH�_dummyremote.__init__�s&���8�8�=�=�����2���(�#��r#c��[U5HZnURUR5SS9nURUR5SSS9nUR	U5 SSS5 M\ g!,(df   Mn=f)NT)r�r�r�)r�rUrTrr\)rr�r�r�contentr�s      r!r��_dummyremote.writebatch�s^���h�'�A��n�n�Q�U�U�W�T�n�:�G����!�%�%�'�5�T��:�b�����!�;�:�(�:�:�s�A+�+
A:	c���[U5HMnURUR5S5nURUR5US5 SSS5 MO g!,(df   Ma=frd)r�rrTr�)rr�r�rr�s     r!r��_dummyremote.readbatch�sN���h�'�A����!�%�%�'�5�)�R�� � �����"�d�3�*�)�(�)�)�s�"A�
A-	)rN�	r;r<r=r>rlrHr�r�r?r6r#r!r�r��s��6�$�"�4r#r�c�*�\rSrSrSrSrSrSrSrg)�_nullremotei�z&Null store storing blobs to /dev/null.c��grFr6�rrwrs   r!rH�_nullremote.__init__�rJr#c��grFr6r�s   r!r��_nullremote.writebatch�rJr#c��grFr6r�s   r!r��_nullremote.readbatch�rJr#r6Nr�r6r#r!r�r��s��0�
�
�
r#r�c�8�\rSrSrSrSrS	SjrS	SjrSrSr	g)
�
_promptremotei�z)Prompt user to set lfs.url when accessed.c��grFr6r�s   r!rH�_promptremote.__init__�rJr#Nc�$�UR5 grF��_prompt)rr�r�rfs    r!r��_promptremote.writebatch�������r#c�$�UR5 grFr�)rr�r�rfs    r!r��_promptremote.readbatch�r�r#c�@�[R"[S55e)Nslfs.url needs to be configured)rrDrrGs r!r��_promptremote._prompt�s���k�k�!�=�>�?�?r#r6rF)
r;r<r=r>rlrHr�r�r�r?r6r#r!r�r��s��3�
���@r#r�)�https�httpsfilesnullNc��[R"5nUHnX!UR5'M UR5$)z0Remove any duplicate oids that exist in the list)r
�sortdictrT�values)r��reducedrs   r!r�r��s2���m�m�o�G�
����������>�>��r#c��[[R"U5R55nX :wa[	[S5U-[S5S9eg)Nr>r?r�)rr�r�r�r�r)rTr�r�s   r!r�r��sL���'�.�.��)�0�0�2�3�G��~� �
�0�1�C�7��#�$�
�	
�r#c�,�URRSS5n[R"U=(d S5nUGcU(aUnOC[	US5(a
UR
nO%URRSS5=(d Sn[R"U5nURS;a�UR(a(URSS	S
:waU=RS
-
slUR=(d SS-Ul[R"[U55nURR[S5U-5 URnU[;a"[R"[S
5U-5e[U"X5$)a�remotestore factory. return a store in _storemap depending on config

If ``lfs.url`` is specified, use that remote endpoint.  Otherwise, try to
infer the endpoint, based on the remote repository using the same path
adjustments as git.  As an extension, 'http' is supported as well so that
``hg serve`` works out of the box.

https://github.com/git-lfs/git-lfs/blob/master/docs/api/server-discovery.md
rrsurlr#N�_subtoppathspathssdefault)r�r����r�s
.git/info/lfsslfs: assuming remote store: %s
slfs: unknown url scheme: %s)rfr�rrr�r�r�rr8r�r�	_storemaprrD)rw�remote�lfsurlrr�
defaulturlr�s       r!r�r��s1���W�W�^�^�F�F�
+�F�
�+�+�f�m��
$�C�
�~���D�
�T�=�
)�
)��#�#�D��7�7�>�>�(�J�7�>�3�D��[�[��&�
���� 3�3����:�?�?�3�B�#7�4�#?����4�'��)���5�#�9I�I�J�O��+�+�e�J�/�0�C��G�G�L�L��>�?�#�E�F�
�Z�Z�F�
�Y���k�k�!�:�;�f�D�E�E��V��T�'�'r#c��\rSrSrSrg)r�ir6N)r;r<r=r>r?r6r#r!r�r�s��r#r�c��\rSrSrSrSrg)r�izzRaised when a corrupt blob is detected, aborting an operation

It exists to allow specialized handling on the server side.r6N)r;r<r=r>rlr?r6r#r!r�r�s��Cr#r�rF)7�
__future__rrrPr�rr&�re�typingr�mercurial.i18nr�mercurial.noder�	mercurialrrr	�httpconnectionmodr
rrr�r
r�vfsmodr�mercurial.utilsrr�
largefilesr�compilerrrC�httpsendfilerarnr�r�basehandlerr�r�r�r�r�r�r�r�r��StorageErrorr�rDr�r6r#r!�<module>r�s&��#�����	�	����
�
�
��
 �
���(�	)���V�Z�Z��@�f��0�%�2�2��WA�WA�t1�2�T�[�[�,�,��.]8�]8�@4�4�&

�

�
@�
@�"�
�
�
�
�
�	��
�((�V	�U�'�'�	�C����Cr#

Youez - 2016 - github.com/yon3zu
LinuXploit