403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib64/python3.9/site-packages/hgext/convert/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib64/python3.9/site-packages/hgext/convert/__pycache__/transport.cpython-39.opt-1.pyc
a

�+�b��@s�ddlmZddlZddlZddlZejjZejjZddl	m
Z
ddlmZej
��dadd�ZGdd�de�ZGd	d
�d
e�ZdS)�)�absolute_importN)�getattr)�utilcCs�ddl}|j�|�|j�|�|j�|�|j�|�|j�|�g}t|jdd�}|r�dD](}dD]}||||�}|r\|�	|�q\qTn t
�|jd�r�|�	|j�|��|j�
||�S)z)Create a Subversion authentication baton.rNZ'svn_auth_get_platform_specific_provider)s
gnome_keyringskeychainskwalletswindows)ssimplesssl_client_cert_pwsssl_server_trustsget_windows_simple_provider)�
svn.client�clientZget_simple_providerZget_username_providerZ!get_ssl_client_cert_file_providerZ$get_ssl_client_cert_pw_file_providerZ"get_ssl_server_trust_file_providerr�core�appendr�safehasattrZget_windows_simple_providerZ
svn_auth_open)�pool�svnZ	providersZgetprovider�name�type�p�r�=/usr/lib64/python3.9/site-packages/hgext/convert/transport.py�_create_auth_baton's&




��rc@seZdZdS)�NotBranchErrorN)�__name__�
__module__�__qualname__rrrrrFsrc@s2eZdZdZd
dd�ZGdd�de�Zdd	�ZdS)�SvnRaTransportz;
    Open an ra connection to a Subversion repository.
    �Nc
Cst�|_||_d|_d|_|dus0t�tjd�s�tj	�
|j�|_	t|j�}||j	_t
durftj�d�a
t
|j	_ztj	�|j|j	|j�|_Wq�ty�}z:|j\}}|tjjtjjtjjfvr�t|���WYd}~q�d}~00n||_tj�|j|j�d��dS)Nrsreparent�utf8)�Poolr
Zsvn_url�username�passwordrr	r�rarZcreate_contextrZ
auth_baton�
svn_configrZsvn_config_get_configZconfigZopen_ra_session�SubversionException�argsZSVN_ERR_RA_ILLEGAL_URLZ"SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILEDZSVN_ERR_BAD_URLrZreparent�encode)�self�urlr�abZxxx_todo_changeme�instZnumrrr�__init__Os4
�

�zSvnRaTransport.__init__c@sFeZdZdd�Zddd�Zddd�Zddd	�Zdd
d�Zddd
�ZdS)zSvnRaTransport.ReportercCs|\|_|_dS�N)�	_reporter�_baton)r!Z
reporter_datarrrr%psz SvnRaTransport.Reporter.__init__Nc	Cs tj�|j|j|||||�dSr&)rrZreporter2_invoke_set_pathr'r()r!�path�revnum�start_empty�
lock_tokenr
rrr�set_pathss�z SvnRaTransport.Reporter.set_pathcCstj�|j|j||�dSr&)rrZreporter2_invoke_delete_pathr'r()r!r)r
rrr�delete_path~s�z#SvnRaTransport.Reporter.delete_pathc
Cs"tj�|j|j||||||�dSr&)rrZreporter2_invoke_link_pathr'r()r!r)r"Zrevisionr+r,r
rrr�	link_path�s�z!SvnRaTransport.Reporter.link_pathcCstj�|j|j|�dSr&)rrZreporter2_invoke_finish_reportr'r(�r!r
rrr�
finish_report�s
�z%SvnRaTransport.Reporter.finish_reportcCstj�|j|j|�dSr&)rrZreporter2_invoke_abort_reportr'r(r0rrr�abort_report�s
�z$SvnRaTransport.Reporter.abort_report)N)N)N)N)N)	rrrr%r-r.r/r1r2rrrr�Reporteros

�

r3cOs&|�tjj|j||g|�Ri|���Sr&)r3rr�	do_update)r!r*r)r�kwargsrrrr4�s�zSvnRaTransport.do_update)rN)rrr�__doc__r%�objectr3r4rrrrrJs
 ,r)Z
__future__rrrZsvn.coreZsvn.rarrrZmercurial.pycompatrZ	mercurialrrZ
initializerrrr7rrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit