Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/mercurial/ |
Upload File : |
� }�^c @ s� d d l Z d d l m Z d d l Z d d l Z d d l Z d e f d � � YZ d � Z d e j f d � � YZ e Z d S( i����N( t _t remotelockc B s# e Z d � Z d � Z d � Z RS( c C s | | _ d S( N( t repo( t selfR ( ( s7 /usr/lib64/python2.7/site-packages/mercurial/sshpeer.pyt __init__ s c C s | j j � d | _ d S( N( R t unlockt None( R ( ( s7 /usr/lib64/python2.7/site-packages/mercurial/sshpeer.pyt release s c C s | j r | j � n d S( N( R R ( R ( ( s7 /usr/lib64/python2.7/site-packages/mercurial/sshpeer.pyt __del__ s ( t __name__t __module__R R R ( ( ( s7 /usr/lib64/python2.7/site-packages/mercurial/sshpeer.pyR s c C s* t j d | � r | Sd | j d d � S( s= quote a string for the remote shell ... which we assume is shs [a-zA-Z0-9@%_+=:,./-]*$s '%s't 's '\''( t ret matcht replace( t s( ( s7 /usr/lib64/python2.7/site-packages/mercurial/sshpeer.pyt _serverquote s t sshpeerc B s� e Z e d � Z d � Z d � Z d � Z d � Z d � Z d � Z e Z d � Z d � Z d � Z d � Z d � Z e d � Z d � Z d � Z d d � Z RS( c C s� | | _ | | _ d | _ | _ | _ t j | d t d t �} | j d k sl | j sl | j d k r� | j t j t d � | � � n t j | � | j | _ | j d k r� | j t j t d � � � n | j | _ | j | _ | j p� d | _ | j j d d d � } | j j d d d � } t j | | j | j | j � } | r�d | | t j d t | � t | j � f � f } | j t d � | � t j | � } | d k r�| j t j t d � � � q�n | j | | | | � d S( Nt parsequeryt parsefragmentt sshs couldn't parse location %ss password in URL not supportedt .t uit remotecmdt hgs %s %s %ss %s init %ss running %s i s could not create remote repo( t _urlR R t pipeot pipeit pipeet utilt urlt Falset schemet hostt patht _abortt errort RepoErrorR t checksafessht usert passwdt portt configt sshargst shellquoteR t notet systemt validate_repo( R R R"