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/lib/python3/dist-packages/breezy/git/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/git/tests/__pycache__/test_remote.cpython-313.pyc
�

p��gl���4�SrSSKrSSKrSSKrSSKJr SSKJr SSKJ	r	 SSK
Jr SSK
Jr SS	KJr SS
KJrJrJrJrJrJrJr SSKJrJr SSKJr SS
KJr  SSK!J"r" SSK#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+J,r,J-r- SSK.J/r/ "SS\5r0"SS\5r1"SS\5r2"SS\5r3"SS\5r4"SS5r5"SS\5\5r6"S S!\5\5r7"S"S#5r8"S$S%\8\5r9"S&S'\8\5r:"S(S)\5r;"S*S+\5r<"S,S-\5r=g).zTest the smart client.�N)�BytesIO)�	porcelain)�HangupException)�Repo�)�Branch)�
ControlDir)�ConnectionReset�DivergedBranches�	NoSuchTag�NotBranchError�PermissionDenied�TransportError�UnexpectedHttpStatus)�TestCase�TestCaseWithTransport)�ExecutableFeature)�join�)�default_mapping)
�GitRemoteRevisionTree�GitSmartRemoteNotSupported�HeadUpdateFailed�ProtectedBranchHookDeclined�RemoteGitBranchFormat�RemoteGitError� _git_url_and_path_from_transport�parse_git_error�parse_git_hangup�
split_git_url)�MissingNestedTreec�D�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rg)�
SplitUrlTests�:c�:�URS[S55 g)N)�fooNN�/barz
git://foo/bar��assertEqualr ��selfs �>/usr/lib/python3/dist-packages/breezy/git/tests/test_remote.py�test_simple�SplitUrlTests.test_simple;s�����4�m�O�6T�U�c�:�URS[S55 g)N)r&iWNr'zgit://foo:343/barr(r*s r,�	test_port�SplitUrlTests.test_port>s�����3�]�CV�5W�Xr/c�:�URS[S55 g)N�r&N�lar'zgit://la@foo/barr(r*s r,�
test_username�SplitUrlTests.test_usernameAs�����4�m�DV�6W�Xr/c�:�URS[S55 g)Nr4zgit://la:passwd@foo/barr(r*s r,�test_username_password�$SplitUrlTests.test_username_passwordDs�����'��7P�)Q�	
r/c�:�URS[S55 g)N)r&NN�/z
git://foo/r(r*s r,�test_nopath�SplitUrlTests.test_nopathIs�����1�=��3N�Or/c�:�URS[S55 g)N)r&NNz//barzgit://foo//barr(r*s r,�test_slashpath�SplitUrlTests.test_slashpathLs�����5�}�EU�7V�Wr/c�:�URS[S55 g)N)r&NNz~barzgit://foo/~barr(r*s r,�test_homedir�SplitUrlTests.test_homedirOs�����4�m�DT�6U�Vr/c�:�URS[S55 g)N)�NNr'zfile:///barr(r*s r,�	test_file�SplitUrlTests.test_fileRs�����1�=��3O�Pr/�N)
�__name__�
__module__�__qualname__�__firstlineno__r-r1r6r9r=r@rCrG�__static_attributes__rIr/r,r#r#:s1��V�Y�Y�
�
P�X�W�Qr/r#c�z�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrg)�ParseGitErrorTests�Vc�H�[SS5nURU[5 g)N�urlr&)r�assertIsInstancer�r+�es  r,�test_unknown�ParseGitErrorTests.test_unknownWs���E�5�)�����a��0r/c�H�[SS5nURU[5 g)NrSz5The remote server unexpectedly closed the connection.)rrTrrUs  r,�test_connection_closed�)ParseGitErrorTests.test_connection_closed[s$����J�
��	
���a��0r/c�H�[SS5nURU[5 g)NrSz#
 Could not find Repository foo/bar�rrTr
rUs  r,�test_notbrancherror�&ParseGitErrorTests.test_notbrancherroras���E�#I�J�����a��0r/c�H�[SS5nURU[5 g)NrSzRepository 'foo/bar' not found.r]rUs  r,�test_notbrancherror_launchpad�0ParseGitErrorTests.test_notbrancherror_launchpades���E�#D�E�����a��0r/c�H�[SS5nURU[5 g)NrSzRepository not found.
r]rUs  r,�test_notbrancherror_github�-ParseGitErrorTests.test_notbrancherror_githubis���E�#<�=�����a��0r/c�H�[SS5nURU[5 g)NrSzFfatal: '/srv/git/lintian-brush' does not appear to be a git repositoryr]rUs  r,�test_notbrancherror_normal�-ParseGitErrorTests.test_notbrancherror_normalms$����T�
��	
���a��0r/c�H�[SS5nURU[5 g)NrSzHEAD failed to update
)rrTrrUs  r,�test_head_update�#ParseGitErrorTests.test_head_updatets ���E�#<�=�����a�!1�2r/c�H�[SS5nURU[5 g)NrSz?access denied or repository not exported: /debian/altermime.git�rrTrrUs  r,�test_permission_dnied�(ParseGitErrorTests.test_permission_dniedxs%����T�
��	
���a�!1�2r/c�H�[SS5nURU[5 g)NrSz:GitLab: You are not allowed to push code to this project.
rmrUs  r,�test_permission_denied_gitlab�0ParseGitErrorTests.test_permission_denied_gitlab~s%����P�
��	
���a�!1�2r/c��[SS5nURU[5 URURS5 URUR
S5 g)NrSz8Permission to porridge/gaduhistory.git denied to jelmer.zporridge/gaduhistory.gitz: denied to jelmer�rrTrr)�path�extrarUs  r,�test_permission_denied_github�0ParseGitErrorTests.test_permission_denied_github�sO����M�
��	
���a�!1�2�������!;�<�������"6�7r/c��[SS5nURU[5 URURS5 URUR
S5 g)NrSzpre-receive hook declinedz: pre-receive hook declinedrtrUs  r,�test_pre_receive_hook_declined�1ParseGitErrorTests.test_pre_receive_hook_declined�sI���E�#>�?�����a�!1�2��������'�������"?�@r/c�H�[SS5nURU[5 g)NrSz\Gregwar/fatcat/tree/debian is not a valid repository name
Email support@github.com for help
r]rUs  r,�test_invalid_repo_name�)ParseGitErrorTests.test_invalid_repo_name�s&����
�
��	
���a��0r/c	�b�UR[SS5[S[S555 g)NrSzOGitLab: You are not allowed to push code to protected branches on this project.)r)rrrr*s r,�test_invalid_git_error�)ParseGitErrorTests.test_invalid_git_error�s:�������,�
�

���:��
�

	
r/c	�\�UR[SS9[S[S555 g)Nzprotected branch hook declined)�msgrS)r)rrrr*s r,�test_protected_branch�(ParseGitErrorTests.test_protected_branch�s)�����'�,L�M��E�>�2R�#S�T�	
r/c	�`�UR[S5[S[S555 g)NzHost key verification failedrSzHost key verification failed.)r)rrrr*s r,�test_host_key_verification�-ParseGitErrorTests.test_host_key_verification�s)������9�:��E�>�2Q�#R�S�	
r/c	�`�UR[S5[S[S555 g)Nz$[Errno 104] Connection reset by peerrS)r)r
rrr*s r,�test_connection_reset_by_peer�0ParseGitErrorTests.test_connection_reset_by_peer�s,������B�C���~�&L�M�
�	
r/c	�`�UR[SSSS9[S[S555 g)Nz.https://example.com/bigint.git/git-upload-packi�zKunexpected http resp 403 for https://example.com/bigint.git/git-upload-pack)rvrS)r)rrrr*s r,�test_http_unexpected�'ParseGitErrorTests.test_http_unexpected�s?����� �@��E�	
�
���E��
�	
r/rIN)rJrKrLrMrWrZr^rardrgrjrnrqrwrzr}r�r�r�r�r�rNrIr/r,rPrPVsX��1�1�1�1�1�1�3�3�3�8�A�1�
� 
�
�
�
r/rPc�L^�\rSrSrU4SjrSrSrSrSrSr	Sr
S	rU=r$)
�ParseHangupTests��c�~>�[TU]5 [S/5 g![a UR	S5 gf=f)Nsfoozdulwich version too old)�super�setUpr�	TypeError�skipTest�r+�	__class__s �r,r��ParseHangupTests.setUp�s7���
��
��	5��V�H�%���	5��M�M�3�4�	5�s��<�<c�T�UR[S[55[5 g)N�http://)rTrrr
r*s r,�test_not_set�ParseHangupTests.test_not_set�s������Y��(9�:�O�	
r/c	�b�UR[S5[S[S/555 g)N�foo barr��foo bar�r)rrrr*s r,�test_single_line�!ParseHangupTests.test_single_line�s)������9�%��Y����(E�F�	
r/c
�d�UR[S5[S[SS/555 g)Nzfoo bar
bla blar�r�sbla blar�r*s r,�test_multi_lines�!ParseHangupTests.test_multi_lines�s-������-�.��Y���Z�8P�(Q�R�	
r/c
���UR[S5[S[/SQ555 UR[S5[S[/SQ555 g)Nr�r�)�=======r��======)sremote: =======sremote: foo barsremote: ======r�r*s r,�test_filter_boring�#ParseHangupTests.test_filter_boring�sY������9�%���?�+N�O�
�	
�	
����9�%����O��
�	
r/c
�f�UR[SS5[S[/SQ555 g)Nr�z1You are not allowed to push code to this project.)r�s1You are not allowed to push code to this project.r/r�)r)rrrr*s r,�test_permission_denied�'ParseHangupTests.test_permission_denied�s8�������N�
�
�����

�		
r/c
�f�UR[SS5[S[/SQ555 g)Nr�z1A repository for this project does not exist yet.)r�r/s1A repository for this project does not exist yet.r/r�)r)r
rrr*s r,�test_notbrancherror_yet�(ParseHangupTests.test_notbrancherror_yets8�������N�
�
�����
�		
r/rI)
rJrKrLrMr�r�r�r�r�r�r�rN�
__classcell__�r�s@r,r�r��s+���5�
�

�
�
�"
�$
�
r/r�c�:^�\rSrSrU4SjrSrSrSrSrU=r	$)�TestRemoteGitBranchFormati#c�@>�[TU]5 [5Ulg�N)r�r�r�formatr�s �r,r��TestRemoteGitBranchFormat.setUp$s���
��
��+�-��r/c�X�URSURR55 g)NzRemote Git Branch)r)r��get_format_descriptionr*s r,�test_get_format_description�5TestRemoteGitBranchFormat.test_get_format_description(s �����,�d�k�k�.P�.P�.R�Sr/c�X�URSURR55 g)Nsgit)r)r��network_namer*s r,�test_get_network_name�/TestRemoteGitBranchFormat.test_get_network_name+s���������!9�!9�!;�<r/c�V�URURR55 gr�)�
assertTruer��
supports_tagsr*s r,�test_supports_tags�,TestRemoteGitBranchFormat.test_supports_tags.s��������1�1�3�4r/�r�)
rJrKrLrMr�r�r�r�rNr�r�s@r,r�r�#s���.�T�=�5�5r/r�c�2�\rSrSr\"S5/rSrSrSrg)�TestRemoteGitBranchi2�gitc�(�[R"U5 [R"SSS9UlSR[RRURR55Ul	URUR5 g�N�remoteT��mkdir�	git://{}/�rr��GitRepo�init�remote_realr��osru�abspath�
remote_url�
permit_urlr*s r,r��TestRemoteGitBranch.setUp5�^���#�#�D�)�"�<�<���=���%�,�,�R�W�W�_�_�T�=M�=M�=R�=R�-S�T���������(r/c�$�URRSSSSS9nURRSSSSS9n[R"UR5nURS5nUR
URU5UR55 URSURU55 UR
XRRS5 UR
UR5URU55 g)	Ns	message 1�!committer <committer@example.com>�author <author@example.com>�refs/heads/newbranch��message�	committer�author�refs	message 2�	newbranch�)r��	do_commitr	�openr��open_branchr)�lookup_foreign_revision_id�
last_revision�set_last_revision_info�refs)r+�c1�c2r�r�s     r,�test_set_last_revision_info�/TestRemoteGitBranch.test_set_last_revision_info;s��
�
�
�
'�
'� �:�1�'�	(�
���
�
�
'�
'� �:�1�'�	(�
��������1���&�&�{�3�	�����0�0��4�i�6M�6M�6O�	
�	�(�(��I�,P�,P�QS�,T�U�����-�-�2�2�3J�K�L�����#�#�%�y�'K�'K�B�'O�	
r/�r�r�N)	rJrKrLrMr�_test_needs_featuresr�r�rNrIr/r,r�r�2s��-�e�4�5��)�
r/r�c�\�\rSrSr%\"S5/r\\S'SrSr	Sr
SrSrS	r
S
rSrg)
�FetchFromRemoteTestBaseiUr��
_to_formatc�(�[R"U5 [R"SSS9UlSR[RRURR55Ul	URUR5 gr�r�r*s r,r��FetchFromRemoteTestBase.setUpZr�r/c��URRSSSS9 [R"UR5nURSURS9 URS5nUR[R"URR55UR5R55 g)N�messager�r��r�r�r��localr�)r�r�r	r�r��make_controldirr��sproutr)r�revision_id_foreign_to_bzr�headr�r��r+r�r�s   r,�test_sprout_simple�*FetchFromRemoteTestBase.test_sprout_simple`s������"�"��:�1�	#�	
�������1�����W�T�_�_��=��
�
�g�&������6�6�t�7G�7G�7L�7L�7N�O�����-�-�/�	
r/c�V�[R"SSS9UlURRSSSS9 URR	S5 UR
R
S	5 UR[URS
55 URSUR
R55 UR
RSSSS9 [R"UR5nURS
URS9 UR!S
5nUR#[$R&"UR
R)55UR+5R-55 UR/[0UR35R4S	5 g)N�subTr��message in subr�r�r��
remote/nested�nested�../sub�nestedr�r�r�)r�r��sub_realr��cloner��stager��urljoinr��assertIn�
open_indexr	r�r�r�r�r)rr�r�r�r��assertRaisesr!�open_workingtree�get_nested_treers   r,�test_sprout_submodule_invalid�5FetchFromRemoteTestBase.test_sprout_submodule_invalidosQ�����U�$�7��
��
�
���%�:�1�	 �	
�	
�
�
���O�,������x�(���������:�;��
�
�i��!1�!1�!<�!<�!>�?����"�"��:�1�	#�	
�������1�����W�T�_�_��=��
�
�g�&������6�6�t�7G�7G�7L�7L�7N�O�����-�-�/�	
�	
����u�5�5�7�G�G��	
r/c�p�[R"SSS9UlURRSSSS9 [	SS	5nURS
5 SSS5 URRS5 URRS5 URRS
5 UR[URS55 URSURR55 URRSSSS9 [R"UR5nURSUR S9 UR#S5nUR%[&R("URR+55UR-5R/55 UR%[&R("URR+55UR15R3S
5R/55 g!,(df   GN�=f)NrTr�rr�r�r�zremote/.gitmodules�wz6
[submodule "lala"]
	path = nested
	url = ../sub/.git
z.gitmodulesrrrr	r�r�r�)r�r�r
r�r��writer�rrr�r
r�rrr	r�r�r�r)rr�r�r�r�rr)r+�fr�r�s    r,�test_sprout_submodule_relative�6FetchFromRemoteTestBase.test_sprout_submodule_relative�s������U�$�7��
��
�
���%�:�1�	 �	
��&��
,��
�G�G��
�-�	
�����}�-��
�
���O�,������x�(���������:�;��
�
�i��!1�!1�!<�!<�!>�?����"�"��:�1�	#�	
�������1�����W�T�_�_��=��
�
�g�&������6�6�t�7G�7G�7L�7L�7N�O�����-�-�/�	
�	
����6�6�t�}�}�7I�7I�7K�L��"�"�$�4�4�X�>�L�L�N�	
�1-�
,�s�H&�&
H5c��URRSSSS9nURRSSSSS9nURR5URRS'[R
"UR5nURS	URS
9 URS	5nUR5nUR[R"U5UR55 URUR5[R"U5S.URR!55 g)Nr�r�r�r��another commitsrefs/tags/anotherr��refs/tags/blahr�r�)�blah�another)r�r�r�r�r	r�r�r�r�r�r�r)rr�r��tags�get_tag_dict�r+r�r�r�r��local_branchs      r,�test_sprout_with_tags�-FetchFromRemoteTestBase.test_sprout_with_tags�s&��
�
�
�
'�
'��:�1�(�
��
�
�
�
'�
'�%�:�1�$�	(�
��48�3C�3C�3H�3H�3J������/�0�������1�����W�T�_�_��=��
�
�g�&���(�(�*������6�6�r�:�L�<V�<V�<X�	
�	
���$�2�2�4�*�E�E�b�I�
�
���*�*�,�	
r/c��URRSSSS9nURRSSSSS9n[R"URSSU[	[
R
"55S	S
SS9 [R"UR5nURS
URS9 URS
[R"U5S9nUR5nUR[R"U5UR!55 URS[R"U50UR"R%55 g)Nr�r�r�r�rsrefs/heads/anotherr��blahrT�
Annotated tag��tagr��	objectish�tag_time�tag_timezone�	annotatedr�r�r���revision_idr�r�r�r�
tag_create�int�timer	r�r�r�r�r�rr�r�r)r�r r!r"s      r,�test_sprout_with_annotated_tag�6FetchFromRemoteTestBase.test_sprout_with_annotated_tag�sB��
�
�
�
'�
'��:�1�(�
��
�
�
�
'�
'�%�:�1�%�	(�
��	�������1�������%���$�		
�������1�����W�T�_�_��=��
�
���!K�!K�B�!O��
���(�(�*������6�6�r�:�L�<V�<V�<X�	
�	
���
�_�?�?��C�D����*�*�,�	
r/c��URRSSSS9nURRSSSS9 [R"URSSU[	[
R
"55SSS	S
9 [R"UR5nURSURS9 URS[R"U5S
9nUR5nUR[R"U5UR!55 URS[R"U50UR"R%55 g)Nr�r�r�r�rr'rTr(r)r�r�r/rr1)r+r�r�r�r#s     r,�+test_sprout_with_annotated_tag_unreferenced�CFetchFromRemoteTestBase.test_sprout_with_annotated_tag_unreferenced�s=��
�
�
�
'�
'��:�1�(�
��
	
���"�"�%�:�1�	#�	
�
	�������1�������%���$�		
�������1�����W�T�_�_��=��
�
���!K�!K�B�!O��
���(�(�*������6�6�r�:�L�<V�<V�<X�	
�	
���
�_�?�?��C�D����*�*�,�	
r/)r�r�r
N)rJrKrLrMrr��str�__annotations__r�rrrr$r5r8rNrIr/r,r�r�Us:��-�e�4�5���O�)�

�
�:#
�J
�:#
�J"
r/r�c��\rSrSrSrSrg)�FetchFromRemoteToBzrTestsi�2arIN�rJrKrLrMr�rNrIr/r,r=r=s���Jr/r=c��\rSrSrSrSrg)�FetchFromRemoteToGitTestsir�rINr?rIr/r,rArAs���Jr/rAc�V�\rSrSr%\"S5/r\\S'SrSr	Sr
SrSrS	r
S
rg)�PushToRemoteBasei r��_from_formatc�(�[R"U5 [R"SSS9UlSR[RRURR55Ul	URUR5 gr�r�r*s r,r��PushToRemoteBase.setUp%r�r/c���[R"UR5nURSURS9nURS/5 UR
S/5 URS5 URS:XaURURSS9nOURURSSS	9nURS
UR5 URS:XaURSUR5 OURSUR5 UR[55 URSUR R"S0UR R%55 g)
Nr�r��
local/blahrr�r���nameT��lossyrJrr�r�)r	r�r��make_branch_and_treerD�
build_tree�add�commit�push_branch�branchr)�	old_revno�	new_revno�assertIs�reportrr�r��get_refs)r+r��wt�results    r,�test_push_branch_new�%PushToRemoteBase.test_push_branch_new+s3��������1��
�
&�
&�w�t�7H�7H�
&�
I�������'�
����x��
�	�	�&������%��'�'��	�	��'�D�F��'�'��	�	��K�'�P�F�����F�,�,�-�����%����Q�� 0� 0�1��M�M�$�� 0� 0�1��
�
�g�i� ����'��)9�)9�)>�)>�?V�)W�
�
���%�%�'�		
r/c��URR5nURSSS5 UR5 URRRSS5 URR
SSSSS	9 [R"UR5nURS
URS9nURS/5 URS
/5 URS
5 URS:XaURUR SS9nOURUR SSS9nUR#SUR$5 URS:XaUR#SUR&5 OUR)SUR&5 UR+[-55 UR#URRSURRSS.URR/55 g)N)scoresbareT�HEAD�refs/heads/masterr�r�r�r�r�r�rHrr���	overwrite�rLr`r�)r]r^)r��
get_config�set�
write_to_pathr��set_symbolic_refr�r	r�r�rMrDrNrOrPrQrRr)rSrTrUrVrrW)r+�cfgr�rXrYs     r,�test_push_branch_symref�(PushToRemoteBase.test_push_branch_symrefFs������)�)�+�����
�G�T�*����������.�.�w�8L�M����"�"��:�1�$�		#�	
�������1��
�
&�
&�w�t�7H�7H�
&�
I�������'�
����x��
�	�	�&������%��'�'��	�	�T�'�B�F��'�'��	�	���'�N�F�����v�/�/�0�����%����Q�� 0� 0�1��M�M�$�� 0� 0�1��
�
�g�i� �����)�)�.�.�/C�D�&*�&6�&6�&;�&;�<P�&Q�
�
���%�%�'�	
r/c���[R"UR5nURSURS9nUR5 UR
SSS/5nUR
U/S/5nUR
U/S/5 UR5 UR5nURRSU5 UR5RS	S
5 URS:XaURUSS
9nOURUS
SS9nUR!SUR"5 URS:XaUR!SUR$5 OUR'SUR$5 UR)[+55 UR!SS1[UR,R/5R1555 g![a [S5ef=f)Nr�r�)rO)rFN�	directoryrF)rO)�filenameN�filescontent)�modify)rksnew-content
)rm)rksnew-new-content
�atagz#source format does not support tags�branch.fetch_tagsTr�r�rIrKrrr�srefs/tags/atag)r	r�r��make_branch_builderrD�start_series�build_snapshot�
finish_series�
get_branchr �set_tag�TagsNotSupported�TestNotApplicable�get_config_stackrcrQr)rSrTrUrVrr�rW�keys)r+r��builder�rev_1�rev_2rRrYs       r,�test_push_branch_new_with_tags�/PushToRemoteBase.test_push_branch_new_with_tagsls���������1���*�*�7�4�;L�;L�*�M�������&�&��4�?�
�
���&�&�
�G�@�A�
��	���
�G�D�E�	
�	�����#�#�%��	K��K�K�����.�	���!�%�%�&9�4�@�����%��'�'��[�'�A�F��'�'��d��'�M�F�����F�,�,�-�����%����Q�� 0� 0�1��M�M�$�� 0� 0�1��
�
�g�i� ����
$�&7�8��� � �)�)�+�0�0�2�3�	
��# �	K�#�$I�J�J�	K�s�(G�G.c�~�URRSSSS9 [R"UR5nURSURS9 URS5nURS/5 UR5nURS/5 URS5nURRRS	U5 URR5R!S
S5 URS:Xa+URR#UR%S
55nO)URR#UR%S
5SS9nUR'SUR(5 UR'SUR*5 UR-[/55 UR'URR15URR15URR2SURR2SS.URR555 g)Nr�r�r�r�r�r�rHr�sometagroTr�r��rLrrr�)r^r]r�srefs/tags/sometag)r�r�r	r�r�r�rDr�rNrrOrPrRr rurxrc�push�
create_branchr)rSrTrVrr�r�rW)r+r�r�rX�revidrYs      r,�	test_push�PushToRemoteBase.test_push�s������"�"��:�1�	#�	
�������1�����W�T�->�->��?��
�
�g�&�������'�
�
#�
#�
%��
����x���	�	�&�!��
�	�	�����y�%�0�
�	�	�"�"�$�(�(�)<�d�C�����%��Y�Y�^�^�F�$8�$8��$E�F�F��Y�Y�^�^�F�$8�$8��$E�T�^�R�F�����F�,�,�-�����F�,�,�-��
�
�g�i� ����&*�&6�&6�&;�&;�&=��)�)�.�.�0�)-�)9�)9�)>�)>�?V�)W�&*�&6�&6�&;�&;�<S�&T�	
�
���%�%�'�	
r/c�<�URRSSSSS9n[R"UR5nURSURS9nURS/5 URS	/5 URS	5 URS
5nURS:Xa,UR[URRU5 O*UR[URRUSS
9 URSU0URR!55 URS:XaURRUSS9 OURRUSSS9 UR#XRR$S5 g)Nr�r�r�r�r�r�r�rHrr�r�Tr�r_ra)r�r�r	r�r�rMrDrNrOrPr�rrrRr�r)rW�assertNotEqualr�)r+r�r�rXr�s     r,�test_push_diverged�#PushToRemoteBase.test_push_diverged�sW��
�
�
�
'�
'��:�1�'�	(�
��������1��
�
&�
&�w�t�7H�7H�
&�
I�������'�
����x��
�	�	�&���&�&�{�3�	�����%����.��	�	���	�J����.��	�	���	�QU��V����1�2�6��8H�8H�8Q�8Q�8S�T�����%��I�I�N�N�9��N�5��I�I�N�N�9�D�D�N�A����B� 0� 0� 5� 5�6M� N�Or/r�N)rJrKrLrMrr�r:r;r�rZrgr}r�r�rNrIr/r,rCrC s8��-�e�4�5����)�
�6$
�L)
�V#
�JPr/rCc��\rSrSrSrSrg)�PushToRemoteFromBzrTestsi�r>rIN�rJrKrLrMrDrNrIr/r,r�r��s���Lr/r�c��\rSrSrSrSrg)�PushToRemoteFromGitTestsi�r�rINr�rIr/r,r�r��s���Lr/r�c�\�\rSrSr\"S5/rSrSrSrSr	Sr
SrS	rS
r
SrSrg
)�RemoteControlDirTestsi�r�c�(�[R"U5 [R"SSS9UlSR[RRURR55Ul	URUR5 gr�r�r*s r,r��RemoteControlDirTests.setUp�r�r/c��URRSSSS9 URRSSSSS9 [R"UR5nURSS	9 UR
URR5URR5URR5S
.5 g)Nr�r�r�r�r�refs/heads/blahr�rrI�r^r])	r�r�r	r�r��destroy_branchr)rWr��r+r�s  r,�test_remove_branch�(RemoteControlDirTests.test_remove_branch�s������"�"��:�1�	#�	
�
	
���"�"�%�:�1�"�		#�	
�������1�����6��*�������%�%�'�&*�&6�&6�&;�&;�&=��)�)�.�.�0�
�	
r/c�4�URRSSSS9 URRSSSSS9 [R"UR5nURSS	1UR
5Vs1sHo"RiM sn5 gs snf)
Nr�r�r�r�rr�r��masterr)r�r�r	r�r�r)�
list_branchesrJ)r+r��bs   r,�test_list_branches�(RemoteControlDirTests.test_list_branchess������"�"��:�1�	#�	
�
	
���"�"�%�:�1�"�		#�	
�������1�����(�F�+�f�>R�>R�>T�-U�>T��f�f�>T�-U�V��-Us�8B
c	��URRSSSS9 URRSSSSS9 [R"UR5nURSS	SS
.UR
5R5VVs0sHup#X#R_M snn5 UR1Sk[UR555 gs snnf)Nr�r�r�r�rr�r�r�r)rFrr�>rFrr�)r�r�r	r�r�r)�get_branches�itemsrJrc�branch_names)r+r��nr�s    r,�test_get_branches�'RemoteControlDirTests.test_get_branchess������"�"��:�1�	#�	
�
	
���"�"�%�:�1�"�		#�	
�������1������6�X�>�%+�%8�%8�%:�%@�%@�%B�C�%B�6�A�Q���Y�%B�C�	
�	
���/��V�5H�5H�5J�1K�L��
Ds�	Cc��URRSSSS9 URRSSSSS9 [R"UR5nUR5nURRS5 UR[URRS5 URURR5URR5URR5S	.5 g)
Nr�r�r�r�rrr�rr�)
r�r�r	r�r�r�r �
delete_tagrrr)rWr�)r+r��
remote_branchs   r,�test_remove_tag�%RemoteControlDirTests.test_remove_tag&s������"�"��:�1�	#�	
�
	
���"�"�%�:�1�!�		#�	
�������1���*�*�,�
����%�%�f�-����)�]�%7�%7�%B�%B�F�K�������%�%�'�&*�&6�&6�&;�&;�&=��)�)�.�.�0�
�	
r/c���URRSSSS9nURRSSSS9 [R"UR5nUR5RRS[R"U55 URURR5URR5UURR5S.5 g)Nr�r�r�r�rr')r^rr])
r�r�r	r�r�r�r rurr�r)rWr�)r+r�r�s   r,�test_set_tag�"RemoteControlDirTests.test_set_tag?s���
�
�
�
'�
'��:�1�(�
��
	
���"�"�%�:�1�	#�	
�������1������!�!�)�)��_�?�?��C�	
�	
������%�%�'�&*�&6�&6�&;�&;�&=�#%��)�)�.�.�0�
�	
r/c���URRSSSS9 URRSSSS9n[R"URSSU[	[
R
"55SSS	S
9 [R"UR5nUR5nURS[R"U50URR55 g)Nr�r�r�r�rr'rTr(r)r)r�r�rr2r3r4r	r�r�r�r)rr�r r!)r+r�r�r�s    r,�test_annotated_tag�(RemoteControlDirTests.test_annotated_tagXs������"�"��:�1�	#�	
�
�
�
�
'�
'�%�:�1�(�
��	�������1�������%���$�		
�������1���*�*�,�
����
�_�?�?��C�D����+�+�-�	
r/c�l�URRSSSS9 URRSSSS9 [R"UR5nURURRS5S-URS55 URSURS	55 g)
Nr�r�r�r�rr<z,branch=masterrFr�)	r�r�r	r�r�r)�user_url�rstrip�get_branch_referencer�s  r,�test_get_branch_reference�/RemoteControlDirTests.test_get_branch_referencevs������"�"��:�1�	#�	
�
	
���"�"�%�:�1�	#�	
�������1������O�O�"�"�3�'�*:�:��'�'��+�	
�	
����v�:�:�8�D�Er/c���URRSSSS9 [R"UR5nURSUR
5R5 g)Nr�r�r�r�r�)r�r�r	r�r�r)r��nickr�s  r,�test_get_branch_nick�*RemoteControlDirTests.test_get_branch_nick�sW�����"�"��:�1�	#�	
�
������1������6�#5�#5�#7�#<�#<�=r/r�N)rJrKrLrMrr�r�r�r�r�r�r�r�r�r�rNrIr/r,r�r��s@��-�e�4�5��)�
�.W� M�(
�2
�2
�<F�&>r/r�c�2�\rSrSrSrSrSrSrSrSr	g)	�GitUrlAndPathFromTransportTestsi�c��[S5nURURS5 URURS5 g)Nzfile:///home/blahrl�
/home/blah�rr)�schemeru�r+�	split_urls  r,rG�)GitUrlAndPathFromTransportTests.test_file�s7��4�5H�I�	�����)�)�6�2��������6r/c��[S5nURURS5 URURS5 g)Nzfile:///home/blah,branch=masterrlr�r�r�s  r,�test_file_segment_params�8GitUrlAndPathFromTransportTests.test_file_segment_params�s7��4�5V�W�	�����)�)�6�2��������6r/c��[S5nURURS5 URURS5 g)Nz.git://github.com/dulwich/dulwich,branch=masterr��/dulwich/dulwichr�r�s  r,�test_git_smart�.GitUrlAndPathFromTransportTests.test_git_smart�s<��4�<�
�	�	
����)�)�5�1�������);�<r/c��[S5nURURS5 URURS5 g)Nz"https://github.com/dulwich/dulwich�httpsr�r�r�s  r,�
test_https�*GitUrlAndPathFromTransportTests.test_https�s<��4�0�
�	�	
����)�)�7�3�������);�<r/c��[S5nURURS5 URURS5 g)Nz0https://github.com/dulwich/dulwich,branch=masterr�r�r�r�s  r,�test_https_segment_params�9GitUrlAndPathFromTransportTests.test_https_segment_params�s<��4�>�
�	�	
����)�)�7�3�������);�<r/rIN)
rJrKrLrMrGr�r�r�r�rNrIr/r,r�r��s��7�
7�
=�=�=r/r�c�>�\rSrSr\"S5/rSrSrSrSr	Sr
g)	�RemoteRevisionTreeTestsi�r�c�^�[R"U5 [R"SSS9UlSR[RRURR55Ul	URUR5 URRSSSS9 g)	Nr�Tr�r�r�r�r�r�)rr�r�r�r�r�r�rur�r�r�r�r*s r,r��RemoteRevisionTreeTests.setUp�s����#�#�D�)�"�<�<���=���%�,�,�R�W�W�_�_�T�=M�=M�=R�=R�-S�T���������(����"�"��:�1�	#�	
r/c��[R"UR5nUR5nUR	U[
5 UR
[URS5 UR
[URS5 UR
[URS5 UR
[URS5 g)Nr5)rr�r��
basis_treerTrrr�is_versioned�has_filename�
get_file_text�
list_files)r+�br�ts   r,�	test_open�!RemoteRevisionTreeTests.test_open�s���
�[�[����
)���M�M�O�����a�!6�7����4�a�n�n�d�K����4�a�n�n�d�K����4�a�o�o�t�L����4�a�l�l�D�Ir/c�^�[R"UR5nUR5n[	URSS55n[R"[SRU55S9nURSUR5 SSS5 g!,(df   g=f)N�tgz�
foo.tar.gzr/)�fileobjrF)rr�r�r��list�archive�gzip�GzipFilerrr)rJ)r+r�r��chunks�gs     r,�test_archive�$RemoteRevisionTreeTests.test_archive�sp��
�[�[����
)���M�M�O���a�i�i��|�4�5��
�]�]�7�3�8�8�F�+;�#<�
=�����R����(�>�
=�
=�s�8B�
B,c�^�[R"UR5nUR5nU4SjmUR	UR
RRST5 UR[URSS5 g)Nc�>�[TS5er�)r)�args�kwargs�raise_unsupps  �r,r��FRemoteRevisionTreeTests.test_archive_unsupported.<locals>.raise_unsupp�s���,�\�4�@�@r/r�r�r�)rr�r�r��overrideAttr�_repository�
controldir�_clientrrr�)r+r�r�r�s   @r,�test_archive_unsupported�0RemoteRevisionTreeTests.test_archive_unsupported�sc���
�[�[����
)���M�M�O��	A�	
���!�-�-�2�2�:�:�I�|�T����4�a�i�i���Ur/r�N)rJrKrLrMrr�r�r�r�r�rNrIr/r,r�r��s&��-�e�4�5��	
�J�)�	Vr/r�)>�__doc__r�r�r4�ior�dulwichr�dulwich.errorsr�dulwich.reporr�rRrr�r	�errorsr
rrr
rrr�testsrr�tests.featuresr�urlutilsrr
�mappingrr�rrrrrrrrrr �treer!r#rPr�r�r�r�r=rArCr�r�r�r�r�rIr/r,�<module>rs$��"��	����*�(��$����5�/�'�%����%�Q�H�Q�8z
��z
�zM
�x�M
�`5��5� 
�/� 
�F@
�@
�F� 7�9N��� 7�9N��wP�wP�t�/�1F���/�1F��n>�1�n>�b=�h�=�B'V�3�'Vr/

Youez - 2016 - github.com/yon3zu
LinuXploit