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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

�^kqs���SSKJr SSKrSSKrSSKJr SSKJr SSKJ	r	J
r
JrJ
r
JrJrJrJrJrJrJrJrJrJrJr SSKJrJr \R<r\R>r\"S5r \"S	5r!S
\ \!4-r"Sr#SOSjr$SOS
jr%Sr&Sr'\RP"5r)SPSjr*\*"SSSS9S5r+\*"SSSS9S5r,\*"SSS9S5r-\*"SSSS9S5r.\*"SS SS9S!5r/\*"S"S#SS9S$5r0\*"S%S&SS9S'5r1/S(Qr2S)r3\*"S*SS9S+5r4\*"S,S-SS9S.5r\*"S/S0SS9S15r5\*"S2S3SS9S45r6S5r7\*"S6S&SS9S75r8\*"S8SS9S95r9\*"S:SS9S;5r:\*"S<S=SS9S>5r;\*"S?S@SS9SA5r<\*"SBSCSS9SD5r=\*"SESFSS9SG5r>\*"SHSISS9SJ5r\*"SKSS9SL5r?\*"SMS8SS9SN5r@g)Q�)�annotationsN�)�_)�hex)�bundle2�bundlecaches�changegroup�	discovery�encoding�error�exchange�hook�pushkey�pycompat�repoview�requirements�streamclone�util�wireprototypes)�procutil�
stringutils/incompatible Mercurial client; bundle2 requireds9see https://www.mercurial-scm.org/wiki/IncompatibleClients%s
(%s)
c��UR5H/nURS5(dMUSSRS5s $ SS/$)aReturns a list of compression methods supported by the client.

Returns a list of the compression methods supported by the client
according to the protocol capabilities. If no such capability has
been announced, fallback to the default of zlib and uncompressed.
scomp=�N�,szlibsnone)�getprotocaps�
startswith�split)�proto�caps  �=/usr/lib/python3/dist-packages/mercurial/wireprotov1server.py�clientcompressionsupportr!1sH���!�!�#���>�>�(�#�#��q�r�7�=�=��&�&�$�
�W���c��URRSS5nU(aUbUS-[R;aUS-
nUR	U5$)z�Obtain the repo used for processing wire protocol commands.

The intent of this function is to serve as a monkeypatch point for
extensions that need commands to operate on different repo views under
specialized circumstances.
�serversviews.hidden)�ui�configr�filtertable�filtered)�repor�command�accesshidden�
viewconfigs     r �getdispatchrepor-AsO�������	�7�3�J�
	��"���#�x�';�';�;��j� �
��=�=��$�$r"c�`�[XX#S9n[UupEURU5nU"X/UQ76$)N)r+)r-�commands�getargs)r)rr*r+�func�spec�argss       r �dispatchr4Vs8���4��K�D��'�"�J�D��=�=���D���#�d�#�#r"c��0nUHnXB;dM
X$X4'X$	M U(a3[RRSUSRU54-5 U$)Ns,warning: %s ignored unexpected arguments %s
r)r�stderr�write�join)�cmd�keys�others�opts�ks     r �optionsr>_s[��
�D�
���;��i�D�G��	��������<��D�I�I�f�%�&�
'�	
��Kr"c�*�URn[RUR;nU(aUR	SSU-5nUbU$UR	SSU-5nUbU$U(aUR	SS5nUbU$UR	SS5$)z�Whether a bundle1 operation is allowed from the server.

Priority is:

1. server.bundle1gd.<action> (if generaldelta active)
2. server.bundle1.<action>
3. server.bundle1gd (if generaldelta active)
4. server.bundle1
r$sbundle1gd.%ss
bundle1.%ss	bundle1gdsbundle1)r%�requirementsmod�GENERALDELTA_REQUIREMENTr�
configbool)r)�actionr%�gd�vs     r �bundle1allowedrFms���
���B�	�	1�	1�T�5F�5F�	F�B�	��M�M�)�_�v�%=�>���=��H�
�
�
�i���!7�8�A��}���	��M�M�)�\�2���=��H�
�=�=��J�/�/r"�pushc�F^^^^�[RR5VVs1sHup4USS:XdMUiM snnmTS;a[R"ST-5eTcSm[T[5(d[R"S5eUUUU4SjnU$s snnf)a{Decorator to declare a wire protocol command.

``name`` is the name of the wire protocol command being provided.

``args`` defines the named arguments accepted by the command. It is
a space-delimited list of argument names. ``*`` denotes a special value
that says to accept all named arguments.

``permission`` defines the permission type needed to run this command.
Can be ``push`` or ``pull``. These roughly map to read-write and read-only,
respectively. Default is to assume command requires ``push`` permissions
because otherwise commands not declaring their permissions could modify
a repository that is supposed to be read-only.
sversionr�rG�pullsCinvalid wire protocol permission; got %s; expected "push" or "pull"r"s:arguments for version 1 commands must be declared as bytesc�>�T[;a[R"ST-5e[R"UTTTS9[T'U$)Ns+%s command already registered for version 1)r3�
transports�
permission)r/r�ProgrammingErrorr�commandentry)r1r3�namerMrLs ����r �register�"wireprotocommand.<locals>.register�sL����8���(�(�>��E��
�(�4�4��t�
�z�
�����r")r�
TRANSPORTS�itemsrrN�
isinstance�bytes)rPr3rMr=rErQrLs```   @r �wireprotocommandrW�s���� %�/�/�5�5�7��7�d�a�1�Z�=�A�;M��7��J��+�+��$�$�
1�3=�
>�
�	
�
�|����d�E�"�"��$�$�I�
�	
�	�	��O��;s
�B�Bsbatchscmds *rJ)rMc	��[Rn/nURS5GH�nURSS5upx0n	URS5H/n
U
(dMU
RS5up�U"U5X�"U5'M1 [Uup�[URnUS;deURU5 U(awUR5n0nUHAnUS:Xa00nU	R
5HnUU;dMU	UUU'M UUS'M9U	UUU'MC U
"X/UVs/sHnUUPM
 snQ76nOU
"X5n[U[R5(aUs $[U[R[45(de[U[R5(aURnUR[R"U55 GM� [R"SRU55$s snf)N�;� rr�=rI�*)r�unescapebatchargrr/rM�	checkpermr:rU�ooberror�
bytesresponserV�data�append�escapebatchargr8)r)r�cmdsr;�unescapearg�res�pair�opr3�vals�a�nrEr1r2�permr:rar=�star�key�results                      r �batchrp�s��� �1�1�K�
�C��
�
�4� ���:�:�d�A�&��������D�!�A��q��w�w�t�}���'2�1�~��[��^�$�"��b�\�
����|�&�&���)�)�)�)�
�������:�:�<�D��D�����9��D�#�y�y�{���d�?�(,�S�	�D��I� +�"&�D��J�"�1�g�D��G���$�@�$�(?�$�Q��a��$�(?�@�F��$�&�F��f�n�5�5�6�6��M��&�>�#?�#?��"G�H�H�H�H��f�n�:�:�;�;��[�[�F��
�
�>�0�0��8�9�K!�N�'�'��	�	�#��7�7��)@s�!Hsbetweenspairsc�F�URS5Vs/sHn[R"US5PM nn/nURU5H+nUR	[R
"U5S-5 M- [R"SRU55$s snf)NrZ�-�
r")rr�
decodelist�betweenrb�
encodelistr`r8)r)r�pairs�p�r�bs      r ruru�s���9>���T�9J�K�9J�A�^�
&�
&�q�$�
/�9J�E�K�
�A�
�\�\�%�
 ��	����*�*�1�-��5�6�!��'�'������4�4��
Ls�!B�	branchmapc�J�UR5n/nUR5HYupE[R[R
"U55n[R"U5nURSXg4-5 M[ [R"SRU55$)Ns%s %srs)�	branchmaprT�urlreq�quoter�	fromlocalrrvrbr`r8)r)rr}�heads�branch�nodes�
branchname�branchnodess        r r}r}�s����� �I��E�"���*�
���\�\�(�"4�"4�V�"<�=�
�$�/�/��6��
���X�� 9�9�:�+�
�'�'��
�
�5�(9�:�:r"sbranches�nodesc��[R"U5n/nURU5H+nUR[R"U5S-5 M- [R
"SR
U55$)Nrsr")rrt�branchesrbrvr`r8)r)rr�ryrzs     r r�r�sa���%�%�e�,�E�
�A�
�]�]�5�
!��	����*�*�1�-��5�6�"��'�'������4�4r"sget_cached_bundle_inlinespathc���[R"URS5(a"[R"URUSSUS9 URRSS5nURRU5nURRX25nURR
U5(d[R"SU-5e[RRU5n[RRU5RU5(d[R"SU-5eSnU"URU5n[R"USS	9$)
z4
Server command to send a clonebundle to the client
spretransmit-inline-clone-bundleT)�throw�clonebundlepathr$speer-bundle-cache-rootsclonebundle %s does not exists'clonebundle %s is using an illegal pathc3�# �U"USS9n[R"UR55Sn[R"U5v� [R
"U5Shv�N SSS5 gN
!,(df   g=f7f)NF)�	auditpath�)�os�fstat�filenor�
uvarintencode�
filechunkiter)�vfs�bundle_path�f�lengths    r �	generator�+get_cached_bundle_inline.<locals>.generator%sd���
���
.�!��X�X�a�h�h�j�)�!�,�F��$�$�V�,�,��)�)�!�,�,�,�/�
.�
-�/�
.�s/�B�AA3�#A1�$A3�(	B�1A3�3
B�=B��gen�prefer_uncompressed)r�hashookr%r&r�r8�existsr�Abortr��path�realpathrr�	streamres)	r)rr��bundle_root�bundle_root_dirr��clonebundles_dirr��streams	         r �get_cached_bundle_inliner�s��
�|�|�D�G�G�?�@�@��	�	��G�G��.�� �	
��'�'�.�.��,E�F�K��h�h�m�m�K�0�O��h�h�m�m�K�6�O��8�8�?�?�?�+�+��k�k�:�T�A�B�B��w�w�'�'��8��
�7�7���O�,�7�7�8H�I�I��k�k�D�t�K�L�L�-��t�x�x��
1�F��#�#��D�I�Ir"sclonebundlesr"c�:�[R"U5n/nUR5H:nUR[R5(aM)URU5 M< URS5 [R"SRU55$)z�A legacy version of clonebundles_manifest

This version filtered out new url scheme (like peer-bundle-cache://) to
avoid confusion in older clients.
r"rs)	r�get_manifest�
splitlinesr�CLONEBUNDLESCHEMErbrr`r8)r)r�manifest_contents�modified_manifest�lines     r �clonebundlesr�0s��%�1�1�$�7����!�,�,�.���?�?�<�9�9�:�:��� � ��&�/����S�!��'�'��
�
�3D�(E�F�Fr"sclonebundles_manifestr\c�Z�[R"U5n[R"U5$)a�Server command for returning info for available bundles to seed clones.

Clients will parse this response and determine what bundle to fetch.

Extensions may wrap this command to filter or dynamically emit data
depending on the request. e.g. you could advertise URLs for the closest
data center given the client's IP address.

The only filter on the server side is filtering out inline clonebundles
in case a client does not support them.
Otherwise, older clients would retrieve and error out on those.
)rr�rr`)r)rr3r�s    r �clonebundles_2r�Bs'��%�1�1�$�7���'�'�(9�:�:r")�lookupr{�pushkey�known�	getbundlesunbundlehashc�R�[[5n[RSU5(aUR	S5 [
R"U5(a�URRSS5(aUR	S5 [
R"U5nU[R1-
(dUR	S5 O,UR	SSR[U55-5 URRSS	5(aP[R"[R "USS
95nUR	S["R%U5-5 UR	SSR[R&5-5 URRSS
5(a_UR	[(R*5 URRSS5(aUR	[(R,5 UR/X5$)areturn a list of capabilities for a repo

This function exists to allow extensions to easily wrap capabilities
computation

- returns a lists: easy to alter
- change done here will be propagated to both `capabilities` and `hello`
  command without any other action needed.
�changegroupsubsetr$spreferuncompressedsstream-preferredsstreams
streamreqs=%srsexperimentalsbundle2-advertise)�rolesbundle2=sunbundle=%ssnarrowsnarrowservebrokenellipses)�list�
wireprotocapsr/�commandavailablerbr�allowservergenerationr%rB�streamed_requirementsr@�REVLOGV1_REQUIREMENTr8�sortedr�
encodecaps�getrepocapsr~r�bundlepriorityr�	NARROWCAP�ELLIPSESCAP�addcapabilities)r)r�caps�requiredformats�capsblobs     r �
_capabilitiesr�^s����
��D�� � �!5�u�=�=����(�)��(�(��.�.��7�7���i�)>�?�?��K�K�+�,�%�;�;�D�A���/�"F�"F�!G�G��K�K�	�"�
�K�K�(�4�9�9�V�O�5L�+M�M�N��w�w���/�+?�@�@��%�%�g�&9�&9�$�Y�&O�P�����K�&�,�,�x�"8�8�9��K�K�����7�+A�+A�!B�B�C��w�w���/�9�5�5����N�,�,�-��7�7���o�/K�L�L��K�K��2�2�3�� � ��,�,r"scapabilitiesc�t�[X5n[R"SR[	U555$)NrZ)r�rr`r8r��r)rr�s   r �capabilitiesr��s*����%�D��'�'��	�	�&��,�(?�@�@r"schangegroupsrootsc��^�[R"U5n[R"XUR	5S9n[
R"XSS5m[U4SjS5n[R"US9$)N��missingroots�ancestorsof�01�servec�&>�TRS5$�Ni���read��cgs�r �<lambda>�changegroup.<locals>.<lambda>��
���r�w�w�u�~r"r"�r�)	rrtr
�outgoingr��changegroupmod�makechangegroup�iterr�)r)r�rootsr�r�r�r�s      @r r	r	�sb����%�%�e�,�E��!�!��d�j�j�l��H�
�	'�	'���x�	H�B�
�%�s�
+�C��#�#��,�,r"r�sbases headsc�^�[R"U5n[R"U5n[R"XUS9n[R
"XSS5m[
U4SjS5n[R"US9$)Nr�r�r�c�&>�TRS5$r�r�r�s�r r��#changegroupsubset.<locals>.<lambda>�r�r"r"r�)rrtr
r�r�r�r�r�)r)r�basesr�r�r�r�s      @r �changegroupsubsetr��sg����%�%�e�,�E��%�%�e�,�E��!�!�$��N�H�	�	'�	'���x�	H�B�
�%�s�
+�C��#�#��,�,r"�
debugwireargss	one two *c	��[SSS/U5n[R"UR"X#40[R
"U5D65$)Nr�sthreesfour)r>rr`�
debugwireargsr�	strkwargs)r)r�one�twor;r<s      r r�r��sI���#�h��%8�&�A�D��'�'����3�@�x�'9�'9�$�'?�@��r"c��^^^�SnURRS5nU(dg[R"X5n[R"XSS9nU(dgUR5RmTRUV	s/sHn	TRU	5PM sn	SS9mTRUV	s/sHn	TRU	5PM sn	SS9m[U5n
UGH#nURS5n[RRRU5n
U(aX�;aX�;aMQSU;a_U"US5nURU5(aM{[!UU4S	jU55(aM�[#UUU4S
jU55(aM�SU;a)U"US5n[!UU4SjU55(dM�US
nUR$R'SU-5 URR)U5s $ gs sn	fs sn	f![a GMAf=f![a GMSf=f![*a# UR$R'SU-5 GM�f=f)ayReturn a file object for the first matching pullbundle.

Pullbundles are specified in .hg/pullbundles.manifest similar to
clonebundles.
For each entry, the bundle specification is checked for compatibility:
- Client features vs the BUNDLESPEC.
- Revisions shared with the clients vs base revisions of the bundle.
  A bundle can be applied only if all its base revisions are known by
  the client.
- At least one leaf of the bundle's DAG is missing on the client.
- Every leaf of the bundle's DAG is part of node set the client wants.
  E.g. do not send a bundle of all changes if the client wants only
  one specific branch of many.
c�x�URS5Vs1sHn[R"U5iM sn$s snf)NrY)r�binascii�	unhexlify)�s�hs  r �decodehexstring�(find_pullbundle.<locals>.decodehexstring�s-��/0�w�w�t�}�=�}�!��"�"�1�%�}�=�=��=s� 7spullbundles.manifestNT)�pullbundles)�	inclusivesCOMPRESSION�headsc3�L># �UHnTRU5T;v� M g7f�N��rev��.0r��cl�
common_ancs  ��r �	<genexpr>�"find_pullbundle.<locals>.<genexpr>�s����E���2�6�6�#�;�*�,����!$c3�># �UH4nTRU5T;=(a TRU5T;v� M6 g7fr�r�)r�r�r�r��	heads_ancs  ���r rr�s:�����'�C����s��9�,�N������J�1N�N�'�s�<?sbasesc3�L># �UHnTRU5T;v� M g7fr�r�r�s  ��r rr�s����I�L�S�r�v�v�c�{�j�0�L�rsURLssending pullbundle "%s"
spullbundle "%s" not accessible
)r��tryreadr�parseclonebundlesmanifest�filterclonebundleentries�
unfiltered�	changelog�	ancestorsr�r!�getr�compengines�_bundlenames�	TypeError�issubset�all�anyr%�debug�open�OSError)r)rr<�clheadsr��commonr��manifestrfr��compformats�entry�comp�altcomp�bundle_heads�bundle_basesr�r�r�rs                 @@@r �find_pullbundler�s-��� >��x�x��� 7�8�H���
�
0�
0��
@�C�
�
/�
/��t�
L�C���	
���	�	$�	$�B����U�;�U�c�b�f�f�S�k�U�;�t��L�I����f�=�f�s�r�v�v�c�{�f�=���N�J�*�5�1�K����y�y��(���"�"�/�/�3�3�D�9���D�+��0J���u��
�.�u�X��?���$�$�V�,�,���E��E�E�E����'������u��
�.�u�X��?���I�L�I�I�I���V�}�����
�
�2�T�9�:�	��8�8�=�=��&�&�C�J��Q<��=���
��
���
��
���	��G�G�M�M�=��D�E��	�sB�H
�6H�<H�!H)�-H;�
H&�%H&�)
H8�7H8�;(I(�'I(r�c��[S[RR5U5nUR	5H�upE[RUnUS:Xa[R
"U5X4'M8US:Xa[
URS55X4'M\US:Xa[URS55X4'M�US:XaUS:XaSX4'M�[U5X4'M�US	:wdM�[S
U-5e [US5(dq[R"URS55(dGURS
:Xa[R "["5$[$R&"[([*S9e[UR,R/55n[URS[555n[URS[555n	U	R1UR25 UR4R7SS5(aQSUR95;a=[;XX7X�5n
U
(a)[R<"[>R@"U
5SS9$UR4R7SS5(aLURSS5nU(a3U	(d,Xx:Xa'[$R&"[CS5[CS5S9e[RD"US40[FRH"U5D6up�URSS5n[R<"X�(+S9$![$R&Gan[R"URS55(d9URS
:Xa([R "URJS-5sSnA$e[LRN"UR45nSURJ4/n/nURPbURSSURP45 URU[LRV"SUU55 URY5n
SnSnAGN+SnAff=f) Nr�r�scsvrsscsvsboolean�0Fsplains unknown getbundle option type %srJs
bundlecaps�http-v1��hintr�scommonr$s
pullbundlespartial-pullTr�sdisablefullbundlescgs%server has pull-based clones disableds/remove --pull if specified or upgrade Mercurialr�sprefercompressedrs�message�hint�error:abort)-r>r�GETBUNDLE_ARGUMENTSr:rTrtr�r�set�bool�KeyErrorrFr
�bundle2requestedrrPr_�bundle2requiredrr��bundle2requiredmain�bundle2requiredhintr
r��discard�nullidr%rBrrr�rr�r�getbundlechunksrr��messager�bundle20r$rb�addpart�
bundlepart�	getchunks)r)rr;r<r=rE�keytyperr�r�bundler	�info�chunks�prefercompressed�exc�bundler�manargs�advargss                   r �	getbundlerA�sh����n�8�8�=�=�?���D��
�
���� �4�4�Q�7���h��$�/�/��2�D�G�
��
��1�7�7�4�=�)�D�G�
��
��!�'�'�$�-�(�D�G�
�
�
"��D�y�����q�'���
��
 ��>��H�I�I�!�$�$��(�(��(�(����-�)@�A�A��z�z�Z�'�%�.�.��?�?��+�+�1�8K�L�L�+!��d�n�n�*�*�,�-���D�H�H�X�s�u�-�.���T�X�X�i���/�0�����t�{�{�#��G�G���y�-�8�8��5�#5�#5�#7�7�%�T�$��O�F��%�/�/��*�*�6�2�����7�7���i�)=�>�>��(�(�5�$�/�K��6�g�.>��k�k��>�?��M�N���
 �/�/��(�
�&�0�0��6�
��� �8�8�$7��>��"�#�#��(<����!�;�;�!��(�(����-�)@�A�A��z�z�Z�'�%�.�.�s�{�{�U�/B�C�C���"�"�4�7�7�+������,�-�����8�8���N�N�G�S�X�X�.�/�����*�*�>�7�G�L�M��"�"�$�� ���!�s.�6C5L2�,B-L2�2Q	�AQ�#Q	�)BQ�Q	r�c�|�UR5n[R"[R"U5S-5$)Nrs)r�rr`rv)r)rr�s   r r�r�Bs.���
�
��A��'�'��(A�(A�!�(D�u�(L�M�Mr"shelloc�^�[X5Rn[R"SU-5$)aNCalled as part of SSH handshake to obtain server info.

Returns a list of lines describing interesting things about the
server, in an RFC822-like format.

Currently, the only one defined is ``capabilities``, which consists of a
line of space separated tokens describing server abilities:

    capabilities: <token0> <token1> <token2>
scapabilities: %s
)r�rarr`r�s   r �hellorDHs+����$�)�)�D��'�'�(=��(D�E�Er"slistkeys�	namespacec���[UR[R"U55R	55n[
R"[R"U55$r�)	r��listkeysr�tolocalrTrr`�
pushkeymod�
encodekeys)r)r�	namespace�ds    r rGrGXsE���t�}�}�X�-�-�i�8�9�?�?�A�B�A��'�'�
�(=�(=�a�(@�A�Ar"r��keyc��[R"U5nURU5n[U5nSn[R"SXe4-5$![a"n[
R"U5nSnSnANASnAff=f)Nrrs%d %s
)	rrH�lookupr�	Exceptionr�forcebytestrrr`)r)rrnr=rkry�success�insts        r rOrO^ss������S�!���K�K��N����F�����'�'�
�g�\�(A�B�B�����#�#�D�)������s�4A�
A<�A7�7A<r�snodes *c��SRSUR[R"U5555n[R"U5$)Nr"c3�H# �UHo=(a S=(d Sv� M g7f)�1r!N�)r�rzs  r r�known.<locals>.<genexpr>ms����$P�q�
�d��d��$P�s� ")r8�knownrrtr`)r)rr�r;rEs     r rYrYksD������$(�J�J�~�/H�/H��/O�$P��	�A��'�'��*�*r"s	protocapsscapsc��UR[R:Xa[UR	S55Ul[R"S5$)NrZsOK)rPr�SSHV1r)r�
_protocapsr`r�s   r �	protocapsr]ss;���z�z�^�)�)�)��t�z�z�$�/�0����'�'��.�.r"r�snamespace key old newc�r�[U5S:XaC[R"U5U:wa)URS5 [R
"U5nO[R
"U5nUR5nUR[R
"U5[R
"U5[R
"U5U5=(d SnSSS5 W(aUR5OSn[R"S[W5U4-5$![a N�f=f!,(df   N[=f)N�zutf-8Fr"s%d
%s)
�lenr�	escapestr�decoderrH�UnicodeDecodeError�mayberedirectstdior�getvaluerr`�int)r)rrKrn�old�new�outputrys        r rrzs����3�x�2�~�*�.�.�s�3�s�:�	��J�J�w���"�"�3�'�C����s�#��	�	!�	!�	#�v��L�L�� � ��+�� � ��%�� � ��%��	
�
��	
�
$�#)�V�_�_�
�c�F��'�'�	�S��V�V�4D�(D�E�E��#"�	��	��

$�	#�s�'D�9AD(�
D%�$D%�(
D6s
stream_outc�V�[R"[R"U55$)z�If the server supports streaming clone, it advertises the "stream"
capability with a value representing the version and flags of the repo
it is serving. Client checks to see if it understands the format.
)r�streamreslegacyr�generatev1wireproto)r)rs  r r�r��s ���)�)�+�*I�*I�$�*O�P�Pr"sunbundlec
�^^^�[R"U5nUR5n[R"XS5 SnUR5mURRSS5(aU4Sjn[R"T5mO�SummUU4Sjn[R"SS	9unmURRS
T-5 [R"U[R"S55mTHnTR!U5 M TR#S5 [R$"URTS5n['U[(R*5(ah[-US
5(dWUR.S:Xa*[R0"[25U"5 sSSS5 $[4R6"[8[:S9e[R<"XUSUR?55n	[AU	S5(a2[RB"U	RE5S9U"5 sSSS5 $[RF"X�(aURI5OS5U"5 sSSS5 $!U"5 f=f![4RJ[4R6[4RL4Ga8n
[OU
SS5(Gde![4R6a�n
[PRRR!U
RU55 [PRRRW5 [RF"SU(aURI5OS5sSn
A
sSn
A
sSSS5 $Sn
A
f[4RLaS [RX"[RZ"U
5U(aURI5OS5ssSn
A
sSSS5 $f=f[\R^"UR5n[OU
SS5HnURaU5 M e![4RbGa'n
[OU
SS5n
U
bSU
ReSS5;aeURgS5nURiSU
Rj5 U
RlbURiSU
RlSS9 U
RnbURiSU
RnSS9 U
RpbURiS U
RpSS9 U
RrbURiS!U
RrSS9 U
RtbURiS"U
RtSS9 Sn
A
GObSn
A
ff=f![4RJa�n
URgS#5nU
RvbURiS$U
Rv5 U
Rx(a+URiS%S&R{U
Rx55 Sn
A
O�Sn
A
f[4R6aln
S'U
R|4/n/nU
R~bUR�S(U
R~45 URa[\R�"S)UU55 Sn
A
OMSn
A
f[4RLa3n
URgS*S'[�R�"U
54/5 Sn
A
OSn
A
ff=f[RB"URE5S9sSn
A
sSSS5 $Sn
A
ff=f!,(df   g=f)+Nspreparing changesc��gr�rWrWr"r r��unbundle.<locals>.<lambda>�s��dr"r$sstreamunbundlec�>�THnM gr�rW)rx�payloads �r �cleanup�unbundle.<locals>.cleanup�s���")�A� �")r")NNc�p>�T(aTR5 T(a[R"T5 ggr�)�closer��unlink)�fp�tempnames��r rrrs�s#�����H�H�J�#��I�I�h�/�$r"shg-unbundle-)�prefixs"redirecting incoming bundle to %s
swb+rrGr"r#r�r5r�r"�duringunbundle2F�_bundle2salvagedoutputrW�
_replycapsr�serrors
error:pushkeysin-reply-torE)�	mandatoryrMsnewsoldsretserror:unsupportedcontentsparttypesparams�r%r&r'serror:pushraced)Drrtrdr
�check_heads�
getpayloadr%rBr�chunkbufferr�mkstemprr��fdopen�sysstrr7�seek�
readbundlerUr��cg1unpackerrFrPr_r-rr�r.r/�unbundle�client�hasattrrkr7�pushresre�BundleValueError�	PushRaced�getattrrr6�format�flush�pusherr�bytestrrr4r5�
PushkeyFailedr�newpart�addparam�partidrKrnrhrg�ret�parttype�paramsr8r3r$rbr6rrQ)r)rr��their_headsrirr�fdrxr�ryr=r>�out�
remotecaps�part�errpartr?r@rwrqrxs                  @@@r r�r��s���� �+�+�E�2�K�	�	!�	!�	#�v�B	K�� � ��4H�I�"�G�8
��*�*�,���7�7�%�%�i�1B�C�C�!��)�)�'�2�B�$.�L�B��0�$,�#3�#3�?�#K�L�B���G�G�M�M�>��I�����2�x���v�'>�?�B�$�������%��G�G�A�J��)�)�$�'�'�2�t�<�����3�3���(��w�7�7��z�z�Z�/�
 .�6�6��G�"�	�y
$�	#�X �+�+�+�2E����%�%��{�H�e�l�l�n����1�i�(�(�*�9�9�a�k�k�m�L��	�y
$�	#�n&�-�-��F�v���(���
�	�y
$�	#��x�	���&�&����U�_�_�E�E	K��3� 1�5�9�9�����{�{�	�
�O�O�)�)�#�*�*�,�7��O�O�)�)�+�)�1�1���6�?�?�,�C����U
$�	#��Z����)�1�1� �(�(��-�-3����)����]
$�	#�Z���&�&�t�w�w�/�G��s�$<�b�A������$�B�,
�H����*�*�H�!(��l�D�!A�J�"�.�&�j�n�n�X�r�.J�J��"�?�?�+;�<�D��M�M�.�#�*�*�=��}�}�0��
�
�(�#�-�-�5�&���w�w�*��
�
�f�c�g�g��
�G��w�w�*��
�
�f�c�g�g��
�G��w�w�*��
�
�f�c�g�g��
�G��w�w�*��
�
�f�c�g�g��
�G���-H��.�)�)�
H�!�/�/�*E�F���<�<�+��$�$�[�#�,�,�?��:�:��$�$�Y��
�
�3�:�:�0F�G����;�;�
�&����4�5�����8�8�'��N�N�G�S�X�X�#6�7�����&�&�~�w��H�����?�?�
����&� �*�"9�"9�#�">�?�@����
��
"�1�1�g�6G�6G�6I�J�J�G
$�	#��|E	K��}
$�	#�s&�[7�J�E I<�'J�8A6I<�.J�?,I<�+J�<	J�J�4[4�<[/�K�O�%A8M1�O�[/�"[4�#[7�1AO�
[/�[4�[7�O�A[/�%P&�&U"�;DU�U%�[/�U"�"U%�%Z<�9A6W4�/[/�4Z<�A"Y2�-[/�2Z<�	)Z7�2[/�7Z<�<$[/� [4�![7�/[4�4[7�7
\)F)NrG)A�
__future__rr�r��i18nr�noder�rrr	r�r
rrr
rrrIrrrr@rrr�utilsrr�urlerrr~r.r/r-r!r-r4r>rF�commanddictr/rWrprur}r�r�r�r�r�r�r�r�r�rrAr�rDrGrOrYr]r�r�rWr"r �<module>r�s6��#��	��������$�

����	
�����J�K���@��� �#6�8K�"L�L��
� %�*$��0�<�%�%�'��,�`�(�I�'�:�*8�;�*8�Z�*�h�7�;�5�<�5��,�7�3�;�4�;��+�x�G�<�5�=�5��-�w�7�K� J�L� J�F�/�3�7�;�G�<�G�"�*�D�W�E�;�F�;�"�
�&-�V�/�g�6�A�7�A�
�.�(�w�?�-�@�-��&��7�K�-�L�-��"�L�W�E��F��C�L�,���9�K�:�K�\�(�w�/�N�0�N�
�(�w�/�F�0�F��+�|��@�B�A�B�
�)�V��8�	C�9�	C��(�J�7�;�+�<�+��,��G�<�/�=�/��*�6�7�K�F�L�F�8�-�G�4�Q�5�Q��+�x�G�<�FK�=�FKr"

Youez - 2016 - github.com/yon3zu
LinuXploit