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/plugins/fastimport/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

p��g���J�SrSSKrSSKJr SrSrSSjrSrS	rS
r	Sr
g)
zMiscellaneous useful stuff.�N�)�
controldirc�:�SSKnURSSU5upU$)z,Replace xml-incompatible control characters.rNu[^	

 -퟿-�]+c�B�URS5RS5$)Nr�unicode_escape)�group�encode)�matchs �C/usr/lib/python3/dist-packages/breezy/plugins/fastimport/helpers.py�<lambda>�'escape_commit_message.<locals>.<lambda>$s��e�k�k�!�n�+�+�,<�=�)�re�subn)�messager�_s   r�escape_commit_messagers'������4�=���J�G�
�Nrc��URn/n[[RR	55nUR[RR
55 UHYn[RRU5n[US5(dM5URU:XdMGURXE45 M[ [U5(a	USupeU$g)a�Find the high-level format for branches and trees given a repository.

When creating branches and working trees within a repository, Bazaar
defaults to using the default format which may not be the best choice.
This routine does a reverse lookup of the high-level format registry
to find the high-level format that a shared repository was most likely
created via.

:return: the BzrDirFormat or None if no matches were found.
�repository_formatrN)�_format�setr�format_registry�keys�difference_update�aliases�make_controldir�hasattrr�append�len)�repo�repo_format�
candidates�non_aliases�key�format�names       r�'best_format_for_objects_in_a_repositoryr'*s����,�,�K��J��j�0�0�5�5�7�8�K��!�!�*�"<�"<�"D�"D�"F�G����+�+�;�;�C�@���6�.�/�/��'�'�;�6��!�!�3�-�0���:���!�!�}����
�rc���SSKnSSKJnJnJnJn URRU5up�U$!URa Of=fURRU5(a9URU5n
U
(a URSRU55 OEURU5 O2![a%nURSRX55eSnAff=fUR!S5 UcUR"R%S5nUR'U5nUR)5 UR+U5nUR-S	S
9n
U(aSSKJn U"U
RSS9 U$)
a�Open a destination directory and return the BzrDir.

If destination has a control directory, it will be returned.
Otherwise, the destination should be empty or non-existent and
a shared repository will be created there.

:param location: the destination directory
:param format: the format to use or None for the default
:param verbose: display the format used if a repository is created.
:return: BzrDir for the destination
rNr)r�errors�trace�	transportzVDestination must have a .bzr directory,  not yet exist or be empty - files found in {}zUnable to create {}: {}z#Creating destination repository ...�defaultT)�shared)�show_bzrdir_info)�verbose)�os�rr)r*r+�
ControlDir�open_containing�NotBranchError�path�exists�listdir�CommandErrorr%�mkdir�OSError�noterr�
get_transport�ensure_base�initialize_on_transport�create_repository�infor.)�locationr%r/r0rr)r*r+�control�relpath�contents�ex�to_transportr r.s               r�open_destination_directoryrGHsP���8�8�
�%�0�0�@�@��J������� � �
��
��
�w�w�~�~�h����:�:�h�'������A�AG���AQ�
��
	V��H�H�X����	V��%�%�&?�&F�&F�x�&T�U�U��	V��
�J�J�4�5�
�~��+�+�;�;�I�F���*�*�8�4�L������,�,�\�:�G��$�$�D�$�1�D��,�����!�4��Ns'�1�A�A�!B3�3
C"�= C�C"c�<�US:XaJUSLa[RS-$USLa[RS-$[SRU55eUS:Xa[R$US:Xa[R
$US	:Xag
[SRU55e)N�fileT��F�zExecutable {!r} invalid�symlink�	directory�tree-reference��zUnknown file kind '{}')�stat�S_IFREG�AssertionErrorr%�S_IFLNK�S_IFDIR)�kind�
executables  r�kind_to_moderW|s����v�~�����<�<�%�'�'�
�5�
 ��<�<�%�'�'� �!:�!A�!A�*�!M�N�N�	
��	��|�|��	
��	��|�|��	
�!�	!���5�<�<�T�B�C�Crc�|�US;agUS;agUS:XagUS:XagUS	:Xag
[SRU55e)N)rKi��)rIF)rJi�)rITi@)rMFi�)rLFrO)rNFzinvalid mode {:o})rRr%)�modes r�mode_to_kindrZ�sR��� � ��	
�"�	"��	
��	�!�	
��	��	
��	�&��0�7�7��=�>�>rc���SSKnURS:Xa@[USS5nU(a,U"5nUS:�aSSKnUR	X1R
5 U$![a U$f=f)z;Ensure a stream is binary on Windows.

:return: the stream
rN�nt�fileno)r0r&�getattr�msvcrt�setmode�O_BINARY�ImportError)�streamr0r]�nor_s     r�
binary_streamre�sg��

��
�7�7�d�?��V�X�t�4�F���X����7�!��N�N�2�{�{�3��M���
���M�
�s�AA�
A&�%A&c��US:XaU$U$)z9Return a single or plural form of a noun based on number.��)�n�single�plurals   r�
single_pluralrl�s���A�v��
��
r)NT)�__doc__rPr1rrr'rGrWrZrerlrhrr�<module>rns5�� "����&�<1�hD�$
?� �*r

Youez - 2016 - github.com/yon3zu
LinuXploit