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/usr/lib/python3/dist-packages/hgext/convert/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/usr/lib/python3/dist-packages/hgext/convert/__pycache__/bzr.cpython-313.pyc
�

6�h'1���SSKJr SSKrSSKJr SSKJrJrJr SSK	J
r
 \RR/SQ5 SSK
rSSKrSSKrSSKr\R$R&r\R(r\R*r\R,r\R. SSKJr S	r"S
S\
R85rg!\a	 SSKJr N&f=f!\a N2f=f)�)�annotationsN)�_)�demandimport�error�util�)�common)zbreezy.transactionszbreezy.urlutils�ElementPath)�
NoSuchFile)�file�symlinkc�x^�\rSrSrSrSU4SjjrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrU=r$)�
bzr_source�=z>Reads Bazaar repositories by using the Bazaar Python librariesc��>�[TU]XX4S9 [RR	[RRUS55(d"[R"[S5U-5e[ [R"U5nURU5 [RRUR!55nUR#5Ul0UlUR-SS5Ulg![a/ [R"[S5[S5S--5ef=f![&R(a# [R"[S5U-5ef=f)	N)�revss.bzrs)%s does not look like a Bazaar repositorys"Bazaar modules could not be loadeds  (try installing the %s package)sbzrsconvertsbzr.saverev)�super�__init__�os�path�exists�joinr	�NoRepor�bzrdir�	NameErrorr�abspath�_checkrepotype�BzrDir�open�decode�open_repository�
sourcerepo�errors�NoRepositoryPresent�
_parentids�
configbool�_saverev)�self�ui�repotyperr�bzr_dir�	__class__s      ��3/usr/lib/python3/dist-packages/hgext/convert/bzr.pyr�bzr_source.__init__@s>���
����t��7��w�w�~�~�b�g�g�l�l�4��9�:�:��-�-��>�?�$�F��
�	Q��
�|�|�D�!�����D�!�	��m�m�(�(�����7�G�%�5�5�7�D�O�
����
�
�j�.�A��
���	Q��-�-��"G� H� !�"E� F�� O�!P�Q�
Q�	Q���)�)�	��-�-��>�?�$�F��
�	�s�5D�#AE�9D=�7E7c�T�[RRUR55SnUR	SS9nUR
nUbhURRRURRR:wa%URR[S55 ggg![R[R4a SnUR5nN�f=f![ a' URR#[S55 gf=f)NrF)�recommend_upgradesawarning: lightweight checkouts may cause conversion failures, try with a regular branch instead.
s(bzr source type could not be determined
)rr�open_containingr �open_workingtree�branchr#�
NoWorkingTree�NotLocalUrl�open_branch�
controldir�root_transport�baser)�warnr�	Exception�note)r(r�dir�treer3s     r-r�bzr_source._checkrepotype[s��	J��-�-�/�/����
�>�q�A�C�
+��+�+�e�+�D������
� ��O�O�2�2�7�7��$�$�3�3�8�8�9�������-���9�!��	�(�(�&�*<�*<�=�
+������*��
+���	J��G�G�L�L��G�H�I�	J�s5�0C6�B:�A)C6�:6C3�0C6�2C3�3C6�6.D'�&D'c�8�URR5 g)a�Before the conversion begins, acquire a read lock
for all the operations that might need it. Fortunately
read locks don't block other reads or writes to the
repository, so this shouldn't have any impact on the usage of
the source repository.

The alternative would be locking on every operation that
needs locks (there are currently two: getting the file and
getting the parent map) and releasing immediately after,
but this approach can take even 40% longer.N)r"�	lock_read�r(s r-�before�bzr_source.beforeus��	
���!�!�#�c�8�URR5 g�N)r"�unlockrBs r-�after�bzr_source.after�s������� rEc�4�URRSS9$)NT)�using)r"�
find_branchesrBs r-�_bzrbranches�bzr_source._bzrbranches�s�����,�,�4�,�8�8rEc�b�UR(d8[UR5Vs/sHoR5PM sn5nO�SnUR5H]nURSR	5n[
RRU5nURU5nWRnM_ Uc/[R"[S5URS-5eU/nUVs/sHo�S:wdM
UPM nnU$s snf![Ra N{f=fs snf)Nrs%s is not a valid revisionsnull:)r�sortedrN�
last_revisionr �revisionspec�RevisionSpec�from_string�
in_historyr#�BzrError�rev_idr�Abortr)	r(�b�heads�revidr3�revspec�r�info�hs	         r-�getheads�bzr_source.getheads�s
���y�y��t�7H�7H�7J�K�7J�!�O�O�-�7J�K�L�E��E��+�+�-���"�i�i��l�1�1�3�G�$�1�1�=�=�g�F�A��<�<��/�D�����.��}��k�k��3�4�t�y�y��|�C����G�E�!�3�E�q�(�]��E��3����%L���������4s$�D
� A
D�6	D,�D,�D)�(D)c���UR5nURRU5nURU5nU[
;agURUR5U4nUS:XaIURU5nUc#[R"[S5X4-5eUR5U4$URU5nUR5U4$![a gf=f)N)NNr
s%s.%s symlink has no target)r r"�
revision_tree�kindr�supportedkinds�
_modecache�encode�get_symlink_targetrrYr�get_file�read)r(�name�rev�revtreere�mode�target�sios        r-�getfile�bzr_source.getfile�s����{�{�}���/�/�/�/��4��	��<�<��%�D��~�%��������
�s�3�4���9���/�/��5�F��~��k�k��4�5���C����=�=�?�D�(�(��"�"�4�(�C��8�8�:�t�#�#���	��	�s�C�
C'�&C'c�b�U(a[R"[S55e0UlURRU5UlURRU5nURRUS5nURURU5upVXV[54$)Ns(convert from cvs does not support --fullr)rrYrrgr"rd�_revtreer%�pop�_gettreechanges�set)r(�version�full�	parentids�prevtree�files�changess       r-�
getchanges�bzr_source.getchanges�s�����+�+�a� K�L�M�M�������5�5�g�>��
��O�O�'�'��0�	��?�?�0�0��1��>���-�-�d�m�m�X�F����s�u�$�$rEc
�4�URRU5nUR(d!/n[R4UR
U'O)UR
UR5nX0R
U'URRSS5nUS:XaSn[R"USURUR*4-URUR5URUR5UR!S5UUR"S9$)Nzbranch-nick�default�trunks%d %d�utf8)�parents�date�author�descr3rm�saverev)r"�get_revision�
parent_ids�revision�
NULL_REVISIONr%�
_filterghosts�
properties�getr	�commit�	timestamp�timezone�recode�	committer�messagerhr')r(ryrmr�r3s     r-�	getcommit�bzr_source.getcommit�s����o�o�*�*�7�3���~�~��G�(0�(>�(>�'@�D�O�O�G�$��(�(����8�G�'.�O�O�G�$����#�#�M�9�=���W���F��}�}���S�]�]�S�\�\�M�:�:��;�;�s�}�}�-����S�[�[�)��=�=��(���M�M�
�	
rEc��0nUR5HbnUR5(d0s $URR5nUR	5HupEXQURU5'M Md U$rG)rN�
supports_tags�tags�get_tag_dict�itemsr�)r(�bytetagsr3�tagdictrlrms      r-�gettags�bzr_source.gettags�sj�����'�'�)�F��'�'�)�)��	��k�k�.�.�0�G�$�]�]�_�	��.1����T�*�+�-�	*��rEc�"�0UlURRU5nUbURUUnO[R
nURRU5nUR
X55SVs/sHofSPM	 nnU$s snf)Nr)rgr"rdr%r�r�rw)r(rm�i�curtree�parentidr|�er~s        r-�getchangedfiles�bzr_source.getchangedfiles�s�������/�/�/�/��4���=����s�+�A�.�H� �-�-�H��?�?�0�0��:��!%�!5�!5�g�!H��!K�L�!K�A�Q�4�!K��L����Ms�:Bc���URn/n0n[5nURnSn[UR
U5USS9n	U	GH�n
U
RnU
RnU
Rn
USS:Xd	USS:XaM<USS:XGa]USS;a%URURUS5U45 USS:XGa"SU;GaUSUS:gnURUS5nURU5H�unnURS:XaMURUSS	-U-5nUU;aM:URU5 U(dMTURUSS	-U-5nURUU45 URUU45 UR=(a S
=(d! URS:H=(a S=(d S
nUURUU4'UUU'M� GM�UunnUbURU5nUbURU5nURU=(d U5 UcURUU45 GMU(aUU:waUUU'URUU45 SX�45up�U
=(a S
=(d US:H=(a S=(d S
nUURUU4'URUU45 GM� XE4$![a URnGN�f=f)Nc�^�URS=(d URS=(d S$)Nrr�)r)�cs r-�key�'bzr_source._gettreechanges.<locals>.key�s"���6�6�!�9�/����q�	�/�R�/rET)r��reverserr�r�	directory)Nr��/�xr
�srEc3�*# �UH	oSv� M g7f)rN�)�.0r�s  r-�	<genexpr>�-bzr_source._gettreechanges.<locals>.<genexpr>Ps���A�.@��!��.@�s��l)�_revision_idrx�root_inventory�AttributeError�	inventoryrQ�iter_changesrre�
executable�appendr��path2id�iter_entries�addrg)r(�current�originr\r~�renames�seenr�r��
curchanges�change�pathsrer��renaming�subdirrl�entry�frompath�topathrors                      r-rw�bzr_source._gettreechanges�s����$�$�������u��	)��-�-�I�	0��� � ��(���
�
�
!�F��K�K�E��;�;�D��*�*�J��Q�x�2�~��q��R����A�w�+�%���7�"5�5��N�N�D�K�K��a��$9�5�#A�B���7�k�)�d�%�.?�$�Q�x�5��8�3�H�'�.�.�u�Q�x�8�F�'0�'=�'=�f�'E���e� �:�:��4�$�#'�;�;�u�Q�x�#�~��/D�#E��#�t�+�%�����*�'�$�!%���U�1�X��^�d�-B�!C������%�'8�9�������7�#�-�-�6�$�#� %�
�
�i� 7� @�D�#�"��
<@�������8�*2����7(F�<�!�L�D�&����{�{�4�(���!����V�,���H�H�T�^�V�$��~�����e�}�-������"&��������e�}�-� B�t�.@�A��D��'�4�O�T�Y�->�-G�4�O�C�D�/3�D�O�O�V�U�O�,��N�N�F�E�?�+�Y!�\����y�	)��(�(�I�	)�s�K�K*�)K*c��URRU5n[UVs/sHo3U;dM
UPM sn5nU$s snf)zaFilters out ghost revisions which hg does not support, see
<http://bazaar-vcs.org/GhostRevision>
)r"�get_parent_map�tuple)r(�ids�	parentmap�parentr�s     r-r��bzr_source._filterghostsWsA���O�O�2�2�3�7�	��c�I�c�F�y�5H��c�I�J�����Js
�	A�A)rgr%rur'r"rG)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrrCrIrNrarrrr�r�r�rwr��__static_attributes__�
__classcell__)r,s@r-rr=sP���H�B�6J�4$�!�9��.$�.
%�
�.��e �N�rEr)�
__future__rr�mercurial.i18nr�	mercurialrrrr�r	�IGNORES�update�breezy.bzr.bzrdir�breezy�
breezy.errors�breezy.revision�breezy.revisionspec�bzrrr#r�rSrT�breezy.transportr�ImportErrorrf�converter_sourcerr�rEr-�<module>r�s���#�	����
�
�������	������Z�Z�
�
�F�
�]�]�F����H��&�&�L����-�/�%��`��(�(�`���-�,�-���	��	�s0�AC�B4�4C�C�C�C�C�C

Youez - 2016 - github.com/yon3zu
LinuXploit