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__/workingtree_3.cpython-313.pyc
�

p��g(����SrSSKrSSKJrJrJr SSKJr SSKJr	 SSK
Jr SSKJ
r
 SS	KJr SS
KJr SSKJrJrJr SS
KJr SSKJrJr "SS\5r"SS\5r"SS\5rg)z'WorkingTree3 format and implementation.�N�)�errors�osutils�trace)�revision)�	transport)�
LockableFiles)�LockDir)�MutableTree)�LocalTransport�)�bzrdir�	hashcache�	inventory)�	transform)�InventoryWorkingTree�WorkingTreeFormatMetaDirc�<^�\rSrSrSU4SjjrSrSSjrSrU=r$)�PreDirStateWorkingTree�!c�>�[TU]"U/UQ70UD6 URRS5nUR	S5n[
R"UUURR5UR55Ul	URnUR5 UR(a'[R"S5 UR5 gg)Nz
stat-cachezwrite hc)�super�__init__�
controldir�get_workingtree_transport�
local_abspathr�	HashCache�_get_file_mode�_content_filter_stack_provider�
_hashcache�read�needs_writer�mutter�write)�self�basedir�args�kwargs�wt_trans�cache_filename�hc�	__class__s       ��:/usr/lib/python3/dist-packages/breezy/bzr/workingtree_3.pyr�PreDirStateWorkingTree.__init__"s����
����2�4�2�6�2��?�?�<�<�T�B��!�/�/��=��#�-�-����O�O�*�*�,��/�/�1�	
����_�_��
���	��>�>��L�L��$��H�H�J��c	��URR(aURR5 gg![a�nUR[R
[R4;ae[R"SURR5[R"URS55 SnAgSnAff=f)z'Write out the hashcache if it is dirty.z*Could not write hashcache for %s
Error: %sr
N)
r r"r$�OSError�errno�EPERM�EACCESrr#�cache_file_namer�safe_unicoder')r%�es  r-�_write_hashcache_if_dirty�0PreDirStateWorkingTree._write_hashcache_if_dirty;s����?�?�&�&�
����%�%�'�'���

��7�7�5�;�;����"=�=�����A��O�O�3�3�5��(�(������3����

�s�9�
C
�BC�C
c���UR5 URU5(d[R"U5eURRX5sSSS5 $!,(df   g=f�N)�	lock_read�is_versioned�_mod_transport�
NoSuchFiler �get_sha1)r%�path�
stat_values   r-�
get_file_sha1�$PreDirStateWorkingTree.get_file_sha1LsL��
�^�^�
��$�$�T�*�*�$�/�/��5�5��?�?�+�+�D�=�	�
�
�s�AA"�"
A0)r )�.r;)	�__name__�
__module__�__qualname__�__firstlineno__rr8rC�__static_attributes__�
__classcell__)r,s@r-rr!s����2�">�>r/rc�0�\rSrSrSrSrSrSrSrSr	g)	�WorkingTree3�Tz�This is the Format 3 working tree.

This differs from the base WorkingTree by:
 - having its own file lock
 - having its own last-revision property.

This is new in bzr 0.8
c��UR5 URRS5sSSS5 $![Ra [
RssSSS5 $f=f!,(df   g=f)zSee Mutable.last_revision.�
last-revisionN)r<�
_transport�	get_bytesr>r?�
_mod_revision�
NULL_REVISION�r%s r-�_last_revision�WorkingTree3._last_revision^s_��
�^�^�
�
3����0�0��A��
��"�,�,�
3�$�2�2�2�	�
�
3���
�s&�A*�7�$A'�A*�&A'�'A*�*
A8c��UbU[R:XaURRS5 gURR
SXRR5S9 g![R
a gf=f)z&See WorkingTree._change_last_revision.rPF��modeT)	rSrTrQ�deleter>r?�	put_bytesrr)r%�revision_ids  r-�_change_last_revision�"WorkingTree3._change_last_revisionfs|����+��1L�1L�"L�
����&�&��7���O�O�%�%���?�?�3Q�3Q�3S�
&�
���"�,�,�
���
�s�A(�(A?�>A?c�(�SUR54/$)z=Return the references needed to perform a check of this tree.�trees)�
last_revisionrUs r-�_get_check_refs�WorkingTree3._get_check_refsts���$�,�,�.�/�0�0r/c�`�URRS:XaAUR5 UR(aUR	5 UR5 URR
5URR
5 $!URR
5 f=f)Nr
)�_control_files�_lock_count�_cleanup�_inventory_is_modified�flushr8�unlock�branchrUs r-rk�WorkingTree3.unlockxsu�����*�*�a�/��M�M�O��*�*��
�
���*�*�,�	!��&�&�-�-�/��K�K��� ��D�K�K��� �s�B�B-�N)
rFrGrHrI�__doc__rVr^rcrkrJrnr/r-rMrMTs���3��1�!r/rMc��\rSrSrSrSrSrSr\S5r	Sr
\rSr
\"\
5rSrSS	jrS
rSSjrSrS
rg)�WorkingTreeFormat3�adThe second working tree format updated to record a format marker.

This format:
    - exists within a metadir controlling .bzr
    - includes an explicit version marker for the workingtree control
      files, separate from the ControlDir format
    - modifies the hash cache format
    - is new in bzr 0.8
    - uses a LockDir to guard access for writes.
Tc��g)z*See WorkingTreeFormat.get_format_string().sBazaar-NG Working Tree format 3rn)�clss r-�get_format_string�$WorkingTreeFormat3.get_format_string�s��2r/c��g)z/See WorkingTreeFormat.get_format_description().zWorking tree format 3rnrUs r-�get_format_description�)WorkingTreeFormat3.get_format_description�s��&r/c�,�[R"5$r;)r�BzrDirMetaFormat1rUs r-�__get_matchingcontroldir�+WorkingTreeFormat3.__get_matchingcontroldir�s���'�'�)�)r/c�F�URS5n[US[5$)N�lock)rr	r
)r%�a_controldirrs   r-�_open_control_files�&WorkingTreeFormat3._open_control_files�s!�� �:�:�4�@�	��Y���8�8r/Nc
�l�[UR[5(d*[R"URR
5eUR
U5nURU5nUR5 UR5 URSUR5UR5S9 UbUnOUR5nUcUR5nUR5n	UR!UR"R%S5UU	SUUUS9n
U
R'5 UR(R+U5nUR-S5b U
R/UR-S55 U[0R2:XaU
R5/5 OU
R5X+4/5 [6R8"X�5 [:R<SHnU"U
5 M
 UR?5 U
R?5 U
$!UR?5 U
R?5 f=f)a�See WorkingTreeFormat.initialize().

:param revision_id: if supplied, create a working tree at a different
    revision than the branch is at.
:param accelerator_tree: A tree which can be used for retrieving file
    contents more quickly than the revision tree, i.e. a workingtree.
    The revision tree will be used for cases where accelerator_tree's
    content is different.
:param hardlink: If true, hard-link files from accelerator_tree,
    where possible.
�formatrYrET��	_internal�_format�_controldirrf��post_build_tree) �
isinstancerrr�NotLocalUrl�baserr��create_lock�
lock_writer\�	as_stringr�open_branchrb�_initial_inventory�_tree_class�root_transportr�lock_tree_write�
repository�
revision_tree�path2id�set_root_idrSrT�set_parent_trees�
bzr_transform�
build_treer�hooksrk)
r%r�r]�from_branch�accelerator_tree�hardlinkr�
control_filesrl�inv�wt�
basis_tree�hooks
             r-�
initialize�WorkingTreeFormat3.initialize�s���&�,�0�0�.�A�A��$�$�\�%;�%;�%@�%@�A�A� �:�:�4�@�	��0�0��>�
��!�!�#�� � �"�����d�n�n�&�\�-H�-H�-J�	�	
��"� �F�!�-�-�/�F��� �.�.�0�K��%�%�'��
�
�
��'�'�5�5�c�:�����$�(��
��	����	��*�*�8�8��E�J��!�!�"�%�1����z�1�1�"�5�6��m�9�9�9��#�#�B�'��#�#�k�%>�$?�@��$�$�Z�4�#�)�)�*;�<���R��=�

� � �"��I�I�K��	��
� � �"��I�I�K�s
�1B>H�"H3c�,�[R"5$r;)r�	InventoryrUs r-r��%WorkingTreeFormat3._initial_inventory�s���"�"�$�$r/c���U(d[e[UR[5(d*[R
"URR5eURXRU55nU$)z�Return the WorkingTree object for a_controldir.

_found is a private parameter, do not use it. It is used to indicate
       if format probing has already been done.
)	�NotImplementedErrorr�rrrr�r��_openr�)r%r��_foundr�s    r-�open�WorkingTreeFormat3.open�s[���%�%��,�0�0�.�A�A��$�$�\�%;�%;�%@�%@�A�A�
�Z�Z��&>�&>�|�&L�
M���	r/c�Z�URURRS5SUUUS9$)zxOpen the tree itself.

:param a_controldir: the dir for the tree.
:param control_files: the control files for the tree.
rETr�)r�r�r)r%r�r�s   r-r��WorkingTreeFormat3._opens<������'�'�5�5�c�:���$�(� �
�	
r/rn)NNNF)F)rFrGrHrIro�upgrade_recommended�missing_parent_conflicts�supports_versioned_directories�classmethodrurxrMr��+_WorkingTreeFormat3__get_matchingcontroldir�property�_matchingcontroldirr�r�r�r�r�rJrnr/r-rqrq�su��	���#��%)�"��2��2�'��K�*�#�#;�<��9�����
C�J%��
r/rq)ror2r�rrrrrSrr>�lockable_filesr	�lockdirr
�mutabletreer�transport.localrrrrrr��workingtreerrrrMrqrnr/r-�<module>r�s\��".��%�%�(�*�*��%�,�*�*�(�G�0>�1�0>�f0!�)�0!�fH
�1�H
r/

Youez - 2016 - github.com/yon3zu
LinuXploit