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_blackbox.cpython-313.pyc
�

p��g�l��@�SrSSKrSSKJr SSKJr SSKJr SSK	J
r
 SSKJr SS	K
Jr S
SKJr "SS
\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5rg) zBlack-box tests for bzr-git.�N)�Repo�)�
ControlDir)�ExternalBase)�PluginLoadedFeature)�TestCaseWithTransportAndScript)�WorkingTree�)�testsc���\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr Sr!S r"S!r#S"r$S#r%S$r&S%r'S&r(g')(�TestGitBlackBox� c���[R"UR5n[R"5nURSSS5 UR
SS5nXR5U4$)N�a�text for a
F�Joe Foo <joe@foo.com>�<The commit message>)�GitRepo�init�test_dirr�GitBranchBuilder�set_file�commit�finish)�self�repo�builder�r1s    �@/usr/lib/python3/dist-packages/breezy/git/tests/test_blackbox.py�
simple_commit�TestGitBlackBox.simple_commit!s[���|�|�D�M�M�*���(�(�*������o�u�5�
�^�^�4�6L�
M���^�^�%�b�)�)�)�c��[R"UR5 [R"UR5nUR5 UR
SS/5 URSS/5up#URSU5 URSU5 UR/SQ5up#URSU5 URSU5 g)	Nr�b�addz	adding a
�)r%z--file-ids-from=../othertreer$z	adding b
zLIgnoring --file-ids-from, since the tree does not support setting file ids.
)	rrrr�open�
create_branch�
build_tree�run_bzr�assertEqual�r�dir�output�errors    r�test_add�TestGitBlackBox.test_add)s������T�]�]�#��o�o�d�m�m�,����������c�
�#����e�S�\�2�
������v�.�����U�#����%Q�R�
������v�.����
"��	
r"c���[R"UR5 [R"UR5nUR5 UR
S/5up#URSU5 g)N�nickzmaster
)rrrrr'r(r*r+r,s    r�	test_nick�TestGitBlackBox.test_nick9sR�����T�]�]�#��o�o�d�m�m�,���������f�X�.�
������V�,r"c�p�UR5 URS/5upURSU5 g)N�branchesz	* master
�r r*r+�rr.r/s   r�
test_branches�TestGitBlackBox.test_branches@s0���������j�\�2�
������v�.r"c��UR5 URS/5upURUS5 URUS5 g)N�infor&zsStandalone tree (format: git)
Location:
            light checkout root: .
  checkout of co-located branch: master
r8r9s   r�	test_info�TestGitBlackBox.test_infoEsF���������f�X�.�
�������#�����
8�	
r"c��UR5 URSS/5upURUS5 URUS5 URSS5 g)N�ignore�foor&�foo
�
.gitignore)r r*r+�assertFileEqualr9s   r�test_ignore�TestGitBlackBox.test_ignoreQsS���������h��%6�7�
�������#������$����W�l�3r"c��UR5 URSS/SS9upURUS5 URUS5 g)Nzcat-revision�-r-1r��retcodezGbrz: ERROR: Repository .* does not support access to raw revision textsr&)r r*�assertContainsRer+r9s   r�test_cat_revision�!TestGitBlackBox.test_cat_revisionXsM���������n�f�%=�q��I�
������U�	
�	
�����$r"c�&�[R"S5 [R"[RRURS55 [R"S5 [R"5nURSSS5 URSS5 UR5 [R"S5 UR/SQ5up#URS5nURS	U;=(d S
U;U5 g)N�	gitbranch�arFr�<The commit message>�..)�branchrP�	bzrbranchzBranched 1 revision(s).zBranched 1 revision.)�os�mkdirrr�path�joinr�chdirrrrrrr*�
splitlines�
assertTrue)rrr.r/�errliness     r�test_branch�TestGitBlackBox.test_branchas���
��������R�W�W�\�\�$�-�-��=�>�
������(�(�*��������6����/�1H�I�����
��������%I�J�
���#�#�E�*�����%��1�W�5K�x�5W��	
r"c�
�[R"S5 [R"[RRURS55 [R"S5 [R"5nURSSS5 URSS5 UR5 [R"S5 UR/SQ5up#URUS	5 URUS
5 g)NrPrQrFrrRrS)�checkoutrPrUz]Fetching from Git to Bazaar repository. For better performance, fetch into a Git repository.
r&)rVrWrrrXrYrrZrrrrrr*r+)rrr.r/s    r�
test_checkout�TestGitBlackBox.test_checkoutrs���
��������R�W�W�\�\�$�-�-��=�>�
������(�(�*��������6����/�1H�I�����
��������%K�L�
������
E�	
�
	
�����$r"c��UR5 URSS/5upURUS5 URUS5 g)N�lsrIr&za
r8r9s   r�test_branch_ls�TestGitBlackBox.test_branch_ls�sB���������d�F�^�4�
�������#������'r"c�&�URS5 g)Nzinit --format=git repo)r*�rs r�	test_init�TestGitBlackBox.test_init�s�����-�.r"c��UR5 URSS/5upURUS5 URSU;5 URSU;5 URSU;5 URSU;5 g)Nr=�-vr&zStandalone tree (format: git)zcontrol: Local Git Repositoryzbranch: Local Git Branchzrepository: Git Repository)r r*r+r\r9s   r�test_info_verbose�!TestGitBlackBox.test_info_verbose�sz���������f�d�^�4�
�������#����7�6�A�B����7�6�A�B����2�f�<�=����4��>�?r"c���URS5 UR5 [R"S5 [R
"[RRURS55 URSS/5 UR/SQ5 UR/SQ5upURSU5 URURS55 g)	Nz"roundtripping is not yet supported�blarrB�r�--unchanged�-mrqrB)�push�-drBrqr"sCreated new branch.
)
�knownFailure�with_roundtrippingrVrWrrrXrYrr*r+r\�endswithr9s   r�test_push_roundtripping�'TestGitBlackBox.test_push_roundtripping�s������>�?����!�
��������R�W�W�\�\�$�-�-��7�8����f�e�_�%����B�C����%A�B�
������f�%�������'?�@�Ar"c���UR/SQ5 UR/SQ5 UR/SQ5 UR/SQ5upURSU5 URUS5 g)N�r�--gitrq)rr~rBrr)ru�-Ocalculate_revnos=norvrBrqr&z"Pushed up to revision id git(.*).
)r*r+rLr9s   r�"test_push_without_calculate_revnos�2TestGitBlackBox.test_push_without_calculate_revnos�s_�����-�.����-�.����B�C����A�
�
��	
����V�$����e�%J�Kr"c���UR/SQ5 URS/5 URSS/5 UR/SQ5 UR/SQ5 URS/5 UR/SQ5 URS	/5 URSS
/5 URS/5 UR/SQ5 UR/S
Q5 g)N)rr~�orig)�orig/azorig contents
r%r�)rrtzadd origr�)�cloner��other)zother/a�
new contents
)rrt�modifyr�)�orig/bzmore
r�)r�r�)rrt�morer�)�mergervr�r�)r*�build_tree_contentsris r�
test_merge�TestGitBlackBox.test_merge�s������.�/�� � �"?�!@�A����e�X�&�'����9�:����/�0�� � �"?�!@�A����8�9�� � �"6�!7�8����e�X�&�'�� � �">�!?�@����5�6����5�6r"c��UR/SQ5 URSS/5 UR/SQ5 UR/SQ5 UR/SQ5 UR/SQ5 UR/SQ5 UR/SQ5 UR/S	Q5upURS
U5 URSU5 g)Nr}rrBrr)rTrB�foo1)rrsrtrqr�)r�rvrBr�)rrsrtr�rB)ru�--lossyz-r1.1.1rvrBrqr&��Pushing from a Bazaar to a Git repository. For better performance, push into a Bazaar repository.
All changes applied successfully.
Pushed up to revision 2.
�r*r+r9s   r�test_push_lossy_non_mainline�,TestGitBlackBox.test_push_lossy_non_mainline�s������-�.����f�e�_�%����B�C����.�/����C�D����B�C����3�4����D�E����%W�X�
������V�$����
)�
�	
r"c��UR/SQ5 URSS/5 UR/SQ5 UR/SQ5 UR/SQ5upURSU5 URSU5 UR/SQ5 UR/SQ5upURSU5 URSU5 g)	Nr}rrBrr)rur�rvrBrqr&r�z�Pushing from a Bazaar to a Git repository. For better performance, push into a Bazaar repository.
All changes applied successfully.
Pushed up to revision 3.
r�r9s   r�(test_push_lossy_non_mainline_incremental�8TestGitBlackBox.test_push_lossy_non_mainline_incremental�s������-�.����f�e�_�%����B�C����B�C����%L�M�
������V�$����
)�
�	
�	
���B�C����%L�M�
������V�$����
)�
�	
r"c��UR5 URS/5upURUS5 URSU;SR	U55 g)N�logr&rz*Commit message was not found in output:
{})r r*r+r\�formatr9s   r�test_log�TestGitBlackBox.test_log�sT���������e�W�-�
�������#����"�f�,�9�@�@��H�	
r"c�r�UR5 URSS/5upURUS5 g)Nr�rm�revno: 1)r r*rLr9s   r�test_log_verbose� TestGitBlackBox.test_log_verbose�s4���������e�T�]�3�
�����f�j�1r"c�r�UR5 URSS/5upURUS5 g)Nr�rr�)r r*�assertNotContainsRer9s   r�test_log_without_revno�&TestGitBlackBox.test_log_without_revno�s6���������e�-D�%E�F�
��� � ���4r"c��[R"UR5 UR/SQ5upUR	US5 UR/SQ5upURUS5 UR	US5 g)N)rz-Ocalculate_revnos=yesrsrt�onezCommitted revision 1.)rrrsrt�twozCommitted revision 2.zCommitted revid .*.)rrrr*rLr�r9s   r�test_commit_without_revno�)TestGitBlackBox.test_commit_without_revnoso�����T�]�]�#����L�
�
��	
���e�%<�=����K�
�
��	
� � ��(?�@����e�%:�;r"c��[R"UR5 [R"5nURSSS5 UR
SS5nURSSS5 UR
SSUS9nURSS	S5 UR
SS
US9nURSSS5 UR
SSU/US
9 UR5 UR/SQ5upVURUS5 URSU5 URS
U5 URSU5 URSU5 g)NrrFr�Firststext 3a for a
zSecond a)�basestext 3b for a
zSecond bs
text 4 for a
�Third)r�r�)r�z-n2rr&)rrrrrrrrr*r+�assertIn)rrr�r2a�r2br.r/s       r�
test_log_file�TestGitBlackBox.test_log_files"�����T�]�]�#��(�(�*������o�u�5�
�^�^�4�g�
>������0�%�8��n�n�5�z��n�K������0�%�8��n�n�5�z��n�K������/��7����/����C��P��������%8�9�
�������#��
�
�j�&�)��
�
�j�&�)��
�
�g�v�&��
�
�g�v�&r"c��UR5upX!RS'URS/5up4URUS5 URUS5 g)Ns
refs/tags/foo�tagsr&zfoo                  1
)r �refsr*r+)r�git_repo�commit_sha1r.r/s     r�	test_tags�TestGitBlackBox.test_tags%sS�� $� 2� 2� 4���*5�
�
�&�'����f�X�.�
�������#�����!;�<r"c�v�UR5 URSS/5upURX!-S5 g)N�tag�barzCreated tag bar.
r8r9s   r�test_tag�TestGitBlackBox.test_tag-s7���������e�U�^�4�
��	
�����)=�>r"c�v�UR/SQ5upURUS5 URUS5 g)N)r�--format=gitzbla.gitr&z(Created a standalone tree (format: git)
r�r9s   r�test_init_repo�TestGitBlackBox.test_init_repo6s4�����%H�I�
�������#�����!L�Mr"c��URS5nURS/5 URS/5 URSS/SS9up#UR	US5 SS	KJn US
:aUR	US5 gUR	US5 g)
N�.r�diffr��rJr&r)�__version__)r��z�diff --git /dev/null b/a
old mode 0
new mode 100644
index 0000000..c197bd8 100644
--- /dev/null
+++ b/a
@@ -0,0 +1 @@
+contents of a
z�diff --git a/a b/a
old file mode 0
new file mode 100644
index 0000000..c197bd8 100644
--- /dev/null
+++ b/a
@@ -0,0 +1 @@
+contents of a
)�make_branch_and_treer)r%r*r+�dulwichr�)r�treer.r/�dulwich_versions     r�test_diff_format� TestGitBlackBox.test_diff_format;s����(�(��-�����������#������f�n�%=�q��I�
�������#�	;��[�(�����#�

�
����#�

r"c�@�[R"SSS9nURS/5 URS5 UR	SSSS	9 UR	S
SSS	9 UR/SQ5 UR
1Sk[[R"S
555 g)NrT�rW�a/file�file�refs/heads/abranch�Joe <joe@example.com>�Dummy��ref�	committer�message�refs/heads/bbranch)�
git-importrr$>�abranch�bbranch�.bzrr$)
rrr)�stage�	do_commitr*r+�setrV�listdir�r�rs  r�test_git_import_uncolocated�+TestGitBlackBox.test_git_import_uncolocated^s����L�L��D�)������
�#�	�����	���%�.��	�	
�
	
���%�.��	�	
�
	
���-�.����7��R�Z�Z��_�9M�Nr"c��[R"SSS9nURS/5 URS5 UR	SSSS	9 UR	S
SSS	9 UR/SQ5 UR
S1[[R"S
555 UR
SS1[[R"S
5R555 g)NrTr�r�r�r�r�r�r�r��r�z--colocatedrr$r�r$r�r��
rrr)r�r�r*r+r�rVr�rr'�branch_namesr�s  r�test_git_import�TestGitBlackBox.test_git_importos����L�L��D�)������
�#�	�����	���%�.��	�	
�
	
���%�.��	�	
�
	
���<�=����&��3�r�z�z�#��#7�8����
�	�"�C�
����(<�(I�(I�(K�$L�	
r"c��[R"SSS9nURS/5 URS5 UR	SSSS	9 UR/S
Q5 UR/S
Q5 UR
S1[[R"S555 [R"S5nUR
S
/UR55 g)NrTr�r�r�r�r�r�r�r�r�r$r�r��rr�r$s   r�test_git_import_incremental�+TestGitBlackBox.test_git_import_incremental�s����L�L��D�)������
�#�	�����	���%�.��	�	
�
	
���<�=����<�=����&��3�r�z�z�#��#7�8��O�O�C� �����)��a�n�n�&6�7r"c�4�[R"SSS9nURS/5 URS5 UR	SSSS	9nX!S
'UR/SQ5 UR
S1[[R"S
555 [R"S
5nUR
S/UR55 UR
S/[URS5RR!5R#555 g)NrTr�r�r�r�r�r�r��refs/tags/atagr�r�r$r��atag)rrr)r�r�r*r+r�rVr�rr'r��list�open_branchr��get_tag_dict�keys)rr��cidr$s    r�test_git_import_tags�$TestGitBlackBox.test_git_import_tags�s����L�L��D�)������
�#�	������k�k�%�.���
��
 #�
�����<�=����&��3�r�z�z�#��#7�8��O�O�C� �����)��a�n�n�&6�7����
�H�d�1�=�=��3�8�8�E�E�G�L�L�N�O�	
r"c��[R"SSS9nURS/5 URS5 UR	SSSS	9 UR	S
SSS	9 URSSS
9 UR
/SQ5 UR[R"S5R5Vs1sHo"RiM snSS15 gs snf)NrTr�r�r�r�r�r�r�r�r$zdevelopment-colo�r�r�r�r�)rrr)r�r��make_controldirr*r+rr'�
list_branches�namer�s   r�test_git_import_colo�$TestGitBlackBox.test_git_import_colo�s����L�L��D�)������
�#�	�����	���%�.��	�	
�
	
���%�.��	�	
�
	
���S�);��<����<�=����'�_�_�S�1�?�?�A�B�A��V�V�A�B�
�	�"�	
��Bs�/Cc�d�[R"SSS9nURS/5 URS5 UR	SSSS	9nX!S
'URSS/5up4UR
US5 UR
US
URS5-S-URS5-S-5 g)NrTr�r�r�r�r�r�r�r��git-refsr&zrefs/heads/abranch -> �asciiz
refs/tags/atag -> �
)rrr)r�r�r*r+�decode)rr�r��stdout�stderrs     r�test_git_refs_from_git�&TestGitBlackBox.test_git_refs_from_git�s����L�L��D�)������
�#�	������k�k�%�.���
��
 #�
���<�<��S�(9�:��������$�����$�s�z�z�'�':�:�>!�
!�#&�:�:�g�#6�
7�9=�
>�	
r"c�x�URS5nURS/5 URS/5 URSSS9nURR
R
SU5 URSS/5up4URUS	5 URS
U;5 URSU;5 g)Nrr�r�r�r�)r�r�r�rr&zrefs/tags/atag -> zHEAD -> )
r�r)r%rrTr��set_tagr*r+r\)rr��revidr	r
s     r�test_git_refs_from_bzr�&TestGitBlackBox.test_git_refs_from_bzr�s����(�(��-������
�#����&������&>���Q������� � ���/��<�<��S�(9�:��������$����,��6�7����
�f�,�-r"c�(�[R"SSS9nURS/5 URS5 UR	SSS9 URS	S/5up#SUlURUS
5 URURS5 g)N�gitrTr��zgitr/fooshello from gitrB�message�Somebody <user@example.com>�r��checkr&z
3 objects
)
rrr�r�r�r*�maxDiffr+r\ry)rr��out�errs    r�
test_check�TestGitBlackBox.test_check�s~���L�L��t�,��� � �"A�!B�C�	�����	���J�*H��I��<�<��&� 1�2����������b�!�������m�4r"c�Z�[R"SSS9 URS/5 UR/SQ5upUR	US5 UR	US5 URS/5 UR/SQ5upUR	US	5 UR	US5 g)
NrTr�)�gitr/.git/configz5[user]
  email = some@example.com
  name = Test User
)�whoamirvrzTest User <some@example.com>
r&)rz"[user]
  email = some@example.com
zsome@example.com
�rrr�r*r+�rrrs   r�test_local_whoami�!TestGitBlackBox.test_local_whoami�s������V�4�(�� � ��	
�	
��<�<� 8�9�������>�?�����b�!�� � ��
�
	
��<�<� 8�9�������2�3�����b�!r"c���[R"SSS9 URS/5 UR/SQ5upUR	US5 UR	US5 g)NrTr�)rzM[user]
  email = some@example.com
  name = Test User
  signingkey = D729A457
)�configrvr�gpg_signing_keyz	D729A457
r&r!r"s   r�test_local_signing_key�&TestGitBlackBox.test_local_signing_keys[�����V�4�(�� � ��

�	
��<�<� K�L�������l�+�����b�!r")rN))�__name__�
__module__�__qualname__�__firstlineno__r r0r4r:r>rFrMr^rbrfrjrnrzr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrr#r(�__static_attributes__�r"rr
r
 s���*�
� -�/�


�4�%�
�"%�$(�/�@�
B�L�7�
�&
�2

�2�5�
<�'�,=�?�N�
!�FO�"
�(
8�
�$
�*
�$	.�5�"�B"r"r
c�F^�\rSrSrU4SjrSrSrSrSrSr	Sr
U=r$)	�ShallowTestsic��>�[TU]5 [R"SSS9UlURS/5 URR
S5 URRSSSSS	SS	S
/S9 g)NrTr�rrBrri5�Zrs(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)r��author�commit_timestamp�commit_timezone�author_timestamp�author_timezone�merge_heads)�super�setUprrrr�r�r�)r�	__class__s �rr:�ShallowTests.setUpsq���
��
���L�L��t�4��	�� � �"A�!B�C��	�	������	�	����4�1�'��'��#��	�		
r"c�(�URSS/SS9upURUS5 URUSURR5R	S5-S-URR5R	S5-S	-5 g)
Nr�rrrJz.brz: ERROR: Further revision history missing.
zQ------------------------------------------------------------
revision-id: git-v1:rz
git commit: zd
committer: Somebody <user@example.com>
timestamp: Mon 2018-05-14 20:36:05 +0000
message:
  message
)r*r+r�headrr9s   r�test_log_shallow�ShallowTests.test_log_shallow's������e�V�_�a��@�
������ Q�R�����
#�%)�Y�Y�^�^�%5�%<�%<�W�%E�
F�I�
�!�Y�Y�^�^�-�4�4�W�=�
>�A�
�		
r"c�v�UR/SQ5upURUS5 URSU5 g)N)�version-infoz--riorr&�revno:�r*r+�assertNotInr9s   r�test_version_info_rio�"ShallowTests.test_version_info_rio6s3�����%F�G�
�������#�����6�*r"c�v�UR/SQ5upURUS5 URSU5 g)N)rBz--pythonrr&rCrDr9s   r�test_version_info_python�%ShallowTests.test_version_info_python;s3�����%I�J�
�������#�����6�*r"c�t�UR/SQSS9upURUS5 URUS5 g)N)rB�--customz"--template=VERSION_INFO r{revno})
rrrJz/brz: ERROR: Variable {revno} is not available.
zVERSION_INFO rr�r9s   r�#test_version_info_custom_with_revno�0ShallowTests.test_version_info_custom_with_revno@sA�����W��%�
�
��	
���� R�S�����!1�2r"c�v�UR/SQ5upURUS5 URUS5 g)N)rBrLz--template=VERSION_INFO 
rr&zVERSION_INFO 
r�r9s   r�&test_version_info_custom_without_revno�3ShallowTests.test_version_info_custom_without_revnoHs8�����N�
�
��	
�����#�����!2�3r")r)r*r+r,r-r:r?rFrIrMrPr.�
__classcell__)r;s@rr1r1s&���
�"

�+�
+�
3�4�4r"r1c� �\rSrSrSrSrSrg)�SwitchTestsiPc
���[R"UR5n[R"5nURS5 UR
SSS5 URSS5 URS5 UR5 UR
SSS5 URSS5 UR5 URRS	S5 UR5 URS
5up4URUS5 URUR!S5U5 UR#S
S5 [$R&"S5nUR)5 UR+5nUR)5 UR/[-UR/U555 SSS5 SSS5 g!,(df   N=f!,(df   g=f)Nsrefs/heads/oldbranchrrFrrsrefs/heads/newbranchstext for new a
sHEADzswitch oldbranchr&zUpdated to revision 1.
�text for a
r�)rrrrr�
set_branchrr�resetrr��set_symbolic_ref�reset_indexr*r+r\�
startswithrEr	r'�	lock_read�
basis_treer��iter_changes)rrrr.r/r�r]s       r�test_switch_branch�SwitchTests.test_switch_branchQss���|�|�D�M�M�*���(�(�*�����2�3�����o�u�5����/�1G�H����2�3��
�
������1�5�9����/�1G�H������	�	�"�"�7�,C�D��������%7�8�
�������$�����(�(�)C�D�e�L����^�S�1�����$��
�^�^�
����*�J��%�%�'�� � ��T�$�*;�*;�J�*G�%H�I�(��
�'�'���
�s$�,!G�
+G	�8G�	
G	�G�
G(c�.�URSSS9nURSSS9nURS/5 URSSRUR54/5 URS/5 UR
S	5 URU5 URS
/5 UR
S5 URS5 [R"S
5n[R"S5nURX5 URX$5 g)N�source�gitr�zsource/subtreezsource/subtree/azsource/.gitmodulesz6[submodule "subtree"]
    path = subtree
    url = {}
rzadd subtree contentsz.gitmoduleszadd subtreezbranch source target�targetztarget/subtree)r�r)r�r��user_urlr%r�
add_referencer*r	r'�assertTreesEqual)rr��subtreerd�target_subtrees     r�test_branch_with_nested_trees�)SwitchTests.test_branch_with_nested_treesms���(�(��%�(�@���+�+�,<�U�+�K�����+�,�-�� � �)���F�7����
�	
�	
�	���S�E�����-�.����7�#����-��!����M�"����+�,��!�!�(�+��$�)�)�*:�;�����d�+����g�6r"r/N)r*r+r,r-r_rjr.r/r"rrTrTPs
��J�87r"rTc��\rSrSrSrSrg)�SwitchScriptTestsi�c�&�URS5 g)Na[
$ brz init --git r
Created a standalone tree (format: git)
$ cd r
$ echo original > file.txt
$ brz add
adding file.txt
$ brz ci -q -m "Initial"
$ echo "entered on master branch" > file.txt
$ brz stat
modified:
  file.txt
$ brz switch -b other
2>Tree is up to date at revision 1.
2>Switched to branch other
$ cat file.txt
entered on master branch
)�
run_scriptris r�test_switch_preserves�'SwitchScriptTests.test_switch_preserves�s������	r"r/N)r*r+r,r-rpr.r/r"rrmrm�s��r"rmc��\rSrSrSrSrg)�	GrepTestsi�c���URSSS9nURS/5 URS/5 URS5up#UR	US5 UR	US5 g)	Nr�rcr��rrVrz	grep textz
a:text for a
r&)r�r�r%r*r+�rr�r.r/s    r�test_simple_grep�GrepTests.test_simple_grep�sg���(�(��U�(�;��� � �"7�!8�9����#������[�1�
������!1�2������#r"r/N)r*r+r,r-rwr.r/r"rrsrs�s��$r"rsc��\rSrSrSrSrg)�ReconcileTestsi�c���URSSS9nURS/5 URS/5 URS5up#UR	US5 URUS5 g)	Nr�rcr�rur�	reconcilezWReconciling branch file://.*
Reconciling repository file://.*
Reconciliation complete.
r&)r�r�r%r*rLr+rvs    r�test_simple_reconcile�$ReconcileTests.test_simple_reconcile�sn���(�(��U�(�;��� � �"7�!8�9����#������[�1�
������
)�	
�	
�����#r"r/N)r*r+r,r-r}r.r/r"rrzrz�s��$r"rzc��\rSrSrSrSrg)�StatusTestsi�c�"�URSSS9nURSS/5 URS/5 URS/5 UR	S5 URS	5up#UR
US
5 UR
US
5 g)Nr�rcr��a/�a/foo)rDrCrDz
add ignore�str&)r�r)r�r%rr*r+rvs    r�test_empty_dir�StatusTests.test_empty_dir�s����(�(��U�(�;������w��(�� � �"9�!:�;����,�� ����L�!����T�*�
�������$������#r"r/N)r*r+r,r-r�r.r/r"rr�r��s��$r"r�c��\rSrSrSrSrg)�
StatsTestsi�c�
�UR[S55 URSSS9nURS/5 UR	S/5 URSSS	9 UR
S5up#URUS
5 g)N�statsr�rcr�rurza commitzSomebody <somebody@example.com>rz%   1 Somebody <somebody@example.com>
)�requireFeaturerr�r�r%rr*r+rvs    r�test_simple_stats�StatsTests.test_simple_stats�s|�����/��8�9��(�(��U�(�;��� � �"7�!8�9����#������J�*K��L����W�-�
������!I�Jr"r/N)r*r+r,r-r�r.r/r"rr�r��s��Kr"r�c�&�\rSrSrSrSrSrSrg)�GitObjectsTestsi�c	���URSUS9nURSS/5 URS/5 URS5 UR	S5up4[UR
55nURSS/UVs/sHn[U5PM sn5 URUS	5 UR	S
RUS55up4URS	U5 gs snf)Nr�r�r�r�rzadd azgit-objects�(r&z
git-object {}r)
r�r)r%rr*r�r[r+�lenr�)rr�r�r.r/�shas�ss       r�
run_simple�GitObjectsTests.run_simple�s����(�(��V�(�<������w��(����#������G�����]�3�
���F�%�%�'�(�����"�b��D�#9�D�q�C��F�D�#9�:������#����_�%;�%;�D��G�%D�E�
������U�#��	$:s�C+
c�"�URSS9 g)Nrcr��r�ris r�test_in_native�GitObjectsTests.test_in_native�s�����u��%r"c�"�URSS9 g)N�2ar�r�ris r�test_in_bzr�GitObjectsTests.test_in_bzr�s�����t��$r"r/N)r*r+r,r-r�r�r�r.r/r"rr�r��s��$�&�%r"r�c��\rSrSrSrSrg)�
GitApplyTestsi�c���URS5 [SS5nURS5 SSS5 URS5up#UR	US5 g!,(df   N4=f)Nr�z	foo.patch�waFrom bdefb25fab801e6af0a70e965f60cb48f2b759fa Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov <KAction@debian.org>
Date: Fri, 8 Feb 2019 23:28:30 +0000
Subject: [PATCH] Add fixed for out-of-date-standards-version

---
 message           | 3 +++
 1 files changed, 14 insertions(+)
 create mode 100644 message

diff --git a/message b/message
new file mode 100644
index 0000000..05ec0b1
--- /dev/null
+++ b/message
@@ -0,0 +1,3 @@
+Update standards version, no changes needed.
+Certainty: certain
+Fixed-Lintian-Tags: out-of-date-standards-version
zgit-apply foo.patchz(Committing to: .*
Committed revision 1.
)r�r'�writer*rL)r�fr.r/s    r�
test_apply�GitApplyTests.test_apply�s_���!�!�#�&�
�+�s�
#�q�
�G�G��
�$�,���%:�;�
�����e�%Q�R�/$�
#�s�A�
A,r/N)r*r+r,r-r�r.r/r"rr�r��s��Sr"r�)�__doc__rV�dulwich.reporr�
controldirr�tests.blackboxr�tests.featuresr�tests.scriptr�workingtreer	r&rr
r1rTrmrsrzr�r�r�r�r/r"r�<module>r�s���$#�	�(�$�*�1�:�&��r"�l�r"�j84�<�84�v87�,�87�v�6��.$��$�$�\�$�	$�,�	$�K��K�%�l�%�*S�L�Sr"

Youez - 2016 - github.com/yon3zu
LinuXploit