403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.6
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/breezy/plugins/weave_fmt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/plugins/weave_fmt/__pycache__/workingtree.cpython-313.pyc
�

p��gI"����SrSSKJr SSKJr SSKJrJrJr SSKJ	r
 SSKJr SSK
Jr SSK
JrJr SS	K
Jr SS
KJr SSKJr SSKJr SS
KJr Sr"SS\5r"SS\5rg)zWeave-era working tree objects.�)�BytesIO�)�	conflicts)�errors�lock�osutils)�revision)�	transport)�	inventory�xml5)�	transform)�PreDirStateWorkingTree)�MutableTree)�LocalTransport)�WorkingTreeFormatc��[RH*nURU5(dMUS[U5*s $ g�N)�_mod_bzr_conflicts�CONFLICT_SUFFIXES�endswith�len)�path�suffixs  �F/usr/lib/python3/dist-packages/breezy/plugins/weave_fmt/workingtree.py�get_conflicted_stemr"s4��$�6�6���=�=�� � ���3�v�;�,�'�'�7�c�l^�\rSrSrSrSrSrSrSrSr	Sr
SrSrS
S	jr
U4S
jrSSjrSrU=r$)�WorkingTreeFormat2�(zcThe second working tree format.

This format modified the hash cache from the format 1 hash cache.
Tz
Branch-FoRMaTFz
.bzrignorec��g)z/See WorkingTreeFormat.get_format_description().zWorking tree format 2���selfs r�get_format_description�)WorkingTreeFormat2.get_format_description:s��&rc���[5n[R"5n[RRXCSS9 UR
S5 URSX25 URSSU5 g)z�Workaround: create control files for a remote working tree.

This ensures that it can later be updated and dealt with locally,
since BzrDirFormat6 and BzrDirFormat5 cannot represent dirs with
no working tree.  (See bug #43064).
T)�workingrrzpending-mergesrN)	rr�	Inventoryr�
serializer_v5�write_inventory�seek�put_file�	put_bytes)r#r
�	file_mode�sio�invs     r�_stub_initialize_on_transport�0WorkingTreeFormat2._stub_initialize_on_transport>s`���i���!�!�#�����*�*�3�T�*�B���������;��7����,�c�9�=rc
�`�[UR[5(d*[R"URR
5eUbUnOUR
5nUcUR5nUR5 URU5 SSS5 [R"5n[URRS5UUSUUURS9nUR R#U5n	U	R%S5b UR'U	R%S55 [(R*"U5(a/n
OX)4/n
UR-U
5 [.R0"X�5 [2R4SHnU"U5 M
 U$!,(df   GN=f)z#See WorkingTreeFormat.initialize().N�.T��	_internal�_format�_controldir�_control_files��post_build_tree)�
isinstancer
rr�NotLocalUrl�base�open_branch�
last_revision�
lock_write�generate_revision_historyrr(�WorkingTree2�root_transport�
local_abspath�
control_files�
repository�
revision_tree�path2id�set_root_id�
_mod_revision�is_null�set_parent_trees�
bzr_transform�
build_treer�hooks)r#�a_controldir�revision_id�from_branch�accelerator_tree�hardlink�branchr0�wt�
basis_tree�parent_trees�hooks            r�
initialize�WorkingTreeFormat2.initializeLsl���,�0�0�.�A�A��$�$�\�%;�%;�%@�%@�A�A��"� �F�!�-�-�/�F��� �.�.�0�K�
�
�
�
 ��,�,�[�9�!��!�!�#��
��'�'�5�5�c�:�����$�!�/�/�
���&�&�4�4�[�A�
����b�!�-��N�N�:�-�-�b�1�2�� � ��-�-��L�(�5�6�L�
���L�)�� � ��0��%�%�&7�8�D���H�9��	�1!�
 �s�F�
F-c�F>�[TU]5 SSKJn U"5Ulg)Nr)�
BzrDirFormat6)�super�__init__�breezy.plugins.weave_fmt.bzrdirr^�_matchingcontroldir)r#r^�	__class__s  �rr`�WorkingTreeFormat2.__init__ws���
����A�#0�?�� rc�.�U(d[e[UR[5(d*[R
"URR5e[URRS5SUUUR5RS9nU$)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.
r4Tr5)�NotImplementedErrorr<r
rrr=r>rCrDrEr?rF)r#rQ�_foundrWs    r�open�WorkingTreeFormat2.open}s}���%�%��,�0�0�.�A�A��$�$�\�%;�%;�%@�%@�A�A�
��'�'�5�5�c�:���$�'�3�3�5�C�C�
���	r)rb)NNNF)F)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�upgrade_recommended�%requires_normalized_unicode_filenames�case_sensitive_filename�missing_parent_conflicts�supports_versioned_directories�ignore_filenamer$r1r[r`rh�__static_attributes__�
__classcell__�rcs@rrr(sZ����
��,0�)�-��$��%)�"�"�O�'�>�"����
)�V3��rrc�V^�\rSrSrSrU4SjrSrSrSrSr	Sr
S	rS
rSr
U=r$)rC�z�This is the Format 2 working tree.

This was the first weave based working tree.
 - uses os locks for locking.
 - uses the branch last-revision.
c�j>�[TU]"U/UQ70UD6 URcUR5 ggr)r_r`�
_inventory�read_working_inventory)r#�basedir�args�kwargsrcs    �rr`�WorkingTree2.__init__�s7���
����2�4�2�6�2��?�?�"��'�'�)�#rc�(�SUR54/$)z=Return the references needed to perform a check of this tree.�trees)r@r"s r�_get_check_refs�WorkingTree2._get_check_refs�s���$�,�,�.�/�0�0rc���URR5 URR5n[R"UR
U5$! URR5 e=f)z�See WorkingTree.lock_tree_write().

In Format2 WorkingTrees we have a single lock for the branch and tree
so lock_tree_write() degrades to lock_write().

:return: An object with an unlock method which will release the lock
    obtained.
)rVrAr9r�LogicalLockResult�unlock)r#�tokens  r�lock_tree_write�WorkingTree2.lock_tree_write�s^��	
����� �	��'�'�2�2�4�E��)�)�$�+�+�u�=�=��	��K�K��� ��s�:A�A4c�`�URRS:XaAUR5 UR(aUR	5 UR5 URR
5URR
5 $!URR
5 f=f)Nr)r9�_lock_count�_cleanup�_inventory_is_modified�flush�_write_hashcache_if_dirtyr�rVr"s rr��WorkingTree2.unlock�su�����*�*�a�/��M�M�O��*�*��
�
���*�*�,�	!��&�&�-�-�/��K�K��� ��D�K�K��� �s�B�B-c#�# �[5nUR5H2up#pE[U5nUcMXa;dMURU5 Uv� M4 g7fr)�set�
list_filesr�add)r#�
conflictedr�_file_class�
_file_kind�_entry�stems       r�_iter_conflicts�WorkingTree2._iter_conflicts�sL����U�
�59�_�_�5F�1�D�z�&�t�,�D��|���%����t�$��
�
6G�s
�4A�Ac��UR5 [R"5nUR5H�nSn[R
"UR
U55S:waSnUSLa@SH:n[R
"UR
X$-55nUS:waSnUSLdM: O SSS.UnUR[RRXbURU5S95 M� UsSSS5 $![Ra SnN�f=f![Ra SnN�f=f!,(df   g=f)	NT�fileF)z.THISz.OTHERz
text conflictzcontents conflict)TF)r�file_id)�	lock_read�_mod_conflicts�ConflictListr�r�	file_kind�abspath�_mod_transport�
NoSuchFile�appendr�Conflict�factoryrI)r#rr��textr�kind�ctypes       rr�WorkingTree2.conflicts�s8��
�^�^�
�&�3�3�5�I�"�2�2�4�
���!��(�(����j�)A�B�f�L�$���4�<�"5��)�#*�#4�#4�T�\�\�*�BU�5V�#W�D�#�v�~�',�� �5�=�!�#6� /�7J�K�D�Q��� � �&�/�/�7�7�����Z�8P�8���%5�.�3�
��&�0�0�!� �D�!�� .�8�8�)�#(�D�)���
�sY�+D8�+D�(
D8�3/D�"D8�)A
D8�D�D8�D�D8�D5	�2D8�4D5	�5D8�8
Ec�D�[R"URU5er)r�UnsupportedOperation�
set_conflicts�r#�args  rr��WorkingTree2.set_conflicts�����)�)�$�*<�*<�d�C�Crc�D�[R"URU5er)rr��
add_conflictsr�s  rr��WorkingTree2.add_conflicts�r�rr!)rjrkrlrmrnr`r�r�r�r�rr�r�rurvrws@rrCrC�s8����	*�1��"!� ��8D�D�DrrCN)rn�iorr:rr�rrrr	rKr
r��bzrrrrr
rN�bzr.workingtree_3r�mutabletreer�transport.localr�workingtreerrrrCr!rr�<module>r�sW��"&��+�%�%�)�+�2�"�-�7�&�-�,�(�g�*�g�TbD�)�bDr

Youez - 2016 - github.com/yon3zu
LinuXploit