§
    	^µc—  ã                   óØ   — d dl Zd dlZd dlZej        j        Zej        j        Zd dlmZ d dl	m
Z
 ej                             ¦   «          dad„ Z G d„ de¦  «        Z G d„ d¦  «        ZdS )	é    N)Úgetattr)Úutilc                 óZ  — ddl }|j                             | ¦  «        |j                             | ¦  «        |j                             | ¦  «        |j                             | ¦  «        |j                             | ¦  «        g}t          |j        dd¦  «        }|r/dD ]+}dD ]&} |||| ¦  «        }|r| 	                    |¦  «         Œ'Œ,nGt          j        |j        d¦  «        r-| 	                    |j                             | ¦  «        ¦  «         |j                             || ¦  «        S )z)Create a Subversion authentication baton.r   NÚ'svn_auth_get_platform_specific_provider)s   gnome_keyrings   keychains   kwallets   windows)s   simples   ssl_client_cert_pws   ssl_server_trusts   get_windows_simple_provider)Ú
svn.clientÚclientÚget_simple_providerÚget_username_providerÚ!get_ssl_client_cert_file_providerÚ$get_ssl_client_cert_pw_file_providerÚ"get_ssl_server_trust_file_providerr   ÚcoreÚappendr   ÚsafehasattrÚget_windows_simple_providerÚsvn_auth_open)ÚpoolÚsvnÚ	providersÚgetproviderÚnameÚtypeÚps          ú9/usr/lib/python3/dist-packages/hgext/convert/transport.pyÚ_create_auth_batonr   &   sK  € àÐÐÐð
 	Œ
×&Ò& tÑ,Ô,ØŒ
×(Ò(¨Ñ.Ô.ØŒ
×4Ò4°TÑ:Ô:ØŒ
×7Ò7¸Ñ=Ô=ØŒ
×5Ò5°dÑ;Ô;ð€Iõ ØŒÐ;¸Tñô €Kð ð 	KàKð 	(ð 	(ˆDØOð (ð (�Ø�K  d¨DÑ1Ô1�Øð (Ø×$Ò$ QÑ'Ô'Ð'øð(ð	(õ Ô˜CœJÐ(FÑGÔGð 	KØ×Ò˜SœZ×CÒCÀDÑIÔIÑJÔJÐJàŒ8×!Ò! )¨TÑ2Ô2Ð2ó    c                   ó   — e Zd ZdS )ÚNotBranchErrorN)Ú__name__Ú
__module__Ú__qualname__© r   r   r   r   E   s   € € € € € Ø€Dr   r   c                   ó:   — e Zd ZdZdd„Z G d„ d¦  «        Zd„ ZdS )	ÚSvnRaTransportz;
    Open an ra connection to a Subversion repository.
    r   Nc                 óR  — t          ¦   «         | _        || _        d| _        d| _        |� t          j        t          j        d¦  «        �st          j	         
                    | j        ¦  «        | _	        t          | j        ¦  «        }|| j	        _        t          €t          j                             d ¦  «        at          | j	        _        	 t          j	                             | j        | j	        | j        ¦  «        | _        d S # t$          $ rS}|j        \  }}|t          j        j        t          j        j        t          j        j        fv rt/          |¦  «        ‚‚ d }~ww xY w|| _        t          j                             | j        | j                             d¦  «        ¦  «         d S )Nr   s   reparentÚutf8)ÚPoolr   Úsvn_urlÚusernameÚpasswordr   r   r   Úrar   Úcreate_contextr   Ú
auth_batonÚ
svn_configr   Úsvn_config_get_configÚconfigÚopen_ra_sessionÚSubversionExceptionÚargsÚSVN_ERR_RA_ILLEGAL_URLÚ"SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILEDÚSVN_ERR_BAD_URLr   ÚreparentÚencode)ÚselfÚurlr+   ÚabÚxxx_todo_changemeÚinstÚnums          r   Ú__init__zSvnRaTransport.__init__N   sc  € Ý‘F”FˆŒ	ØˆŒØˆŒØˆŒð ˆ:�TÔ-­c¬f°kÑBÔB‰:Ýœ*×3Ò3°D´IÑ>Ô>ˆDŒKÝ# D¤IÑ.Ô.ˆBØ%'ˆDŒKÔ"åÐ!Ý œX×;Ò;¸DÑAÔA�
Ý!+ˆDŒKÔðÝœ*×4Ò4Ø”L $¤+¨t¬yñô �”��øõ 'ð ð ð Ø/Ô4‘��sØÝ”HÔ3Ý”HÔ?Ý”HÔ,ðð ð õ
 )¨Ñ-Ô-Ð-Øøøøøðøøøð ˆDŒGÝŒF�OŠO˜DœG T¤\×%8Ò%8¸Ñ%@Ô%@ÑAÔAÐAÐAÐAs   Ã5D Ä
E ÄAEÅE c                   ó>   — e Zd Zd„ Zdd„Zdd„Z	 dd„Zdd„Zdd„ZdS )	úSvnRaTransport.Reporterc                 ó$   — |\  | _         | _        d S ©N)Ú	_reporterÚ_baton)r9   Úreporter_datas     r   r?   z SvnRaTransport.Reporter.__init__o   s   € Ø*7Ñ'ˆDŒN˜DœK˜K˜Kr   Nc           	      ód   — t           j                             | j        | j        |||||¦  «         d S rC   )r   r+   Úreporter2_invoke_set_pathrD   rE   )r9   ÚpathÚrevnumÚstart_emptyÚ
lock_tokenr   s         r   Úset_pathz SvnRaTransport.Reporter.set_pathr   s?   € ÝŒF×,Ò,Ø”Ø”ØØØØØñô ð ð ð r   c                 ó^   — t           j                             | j        | j        ||¦  «         d S rC   )r   r+   Úreporter2_invoke_delete_pathrD   rE   )r9   rI   r   s      r   Údelete_pathz#SvnRaTransport.Reporter.delete_path}   s3   € ÝŒF×/Ò/Ø” ¤¨T°4ñô ð ð ð r   c           
      óf   — t           j                             | j        | j        ||||||¦  «         d S rC   )r   r+   Úreporter2_invoke_link_pathrD   rE   )r9   rI   r:   ÚrevisionrK   rL   r   s          r   Ú	link_pathz!SvnRaTransport.Reporter.link_path‚   sD   € õ ŒF×-Ò-Ø”Ø”ØØØØØØñ	ô 	ð 	ð 	ð 	r   c                 ó\   — t           j                             | j        | j        |¦  «         d S rC   )r   r+   Úreporter2_invoke_finish_reportrD   rE   ©r9   r   s     r   Úfinish_reportz%SvnRaTransport.Reporter.finish_report�   s1   € ÝŒF×1Ò1Ø” ¤¨Tñô ð ð ð r   c                 ó\   — t           j                             | j        | j        |¦  «         d S rC   )r   r+   Úreporter2_invoke_abort_reportrD   rE   rW   s     r   Úabort_reportz$SvnRaTransport.Reporter.abort_report•   s1   € ÝŒF×0Ò0Ø” ¤¨Tñô ð ð ð r   rC   )	r   r    r!   r?   rM   rP   rT   rX   r[   r"   r   r   ÚReporterrA   n   sŽ   € € € € € ð	8ð 	8ð 	8ð		ð 		ð 		ð 		ð	ð 	ð 	ð 	ð FJð	ð 	ð 	ð 	ð	ð 	ð 	ð 	ð
	ð 	ð 	ð 	ð 	ð 	r   r\   c                 ój   — |                       t          j        j        | j        ||g|¢R i |¤Ž¦  «        S rC   )r\   r   r+   Ú	do_update)r9   rJ   rI   r3   Úkwargss        r   r^   zSvnRaTransport.do_updateš   s>   € Ø�}Š}ÝŒFÔ˜TœW f¨dÐD°TÐDÐDÐD¸VÐDÐDñ
ô 
ð 	
r   )r   N)r   r    r!   Ú__doc__r?   r\   r^   r"   r   r   r$   r$   I   so   € € € € € ðð ðBð Bð Bð Bð@*ð *ð *ð *ð *ñ *ô *ð *ðX
ð 
ð 
ð 
ð 
r   r$   )r   r   Úsvn.coreÚsvn.rar   r'   r2   Úmercurial.pycompatr   Ú	mercurialr   r+   Ú
initializer.   r   r   r$   r"   r   r   ú<module>rf      sî   ðð( Ð Ð Ð Ø €€€Ø €€€à
„x„}€Ø”hÔ2Ð à &Ð &Ð &Ð &Ð &Ð &Ø Ð Ð Ð Ð Ð ð
 „× Ò Ñ Ô Ð à€
ð3ð 3ð 3ð>	ð 	ð 	ð 	ð 	Ð(ñ 	ô 	ð 	ðT
ð T
ð T
ð T
ð T
ñ T
ô T
ð T
ð T
ð T
r   