Server IP : 162.213.251.212 / Your IP : 3.144.34.97 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/lib/python2.7/site-packages/pip/vcs/ |
Upload File : |
� ��abc @@ s� d d l m Z d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z e j e � Z d e f d � � YZ e j e � d S( i ( t absolute_importN( t display_patht rmtree( t vcst VersionControl( t path_to_url( t configparsert Mercurialc B@ sq e Z d Z d Z d Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( t hgs .hgt clones hg+https hg+httpss hg+sshs hg+static-httpc C@ sT t j d d � } | j | � z# | j d | g d t d | �Wd t | � Xd S( s? Export the Hg repository at the url to the destination locations -exports pip-t archivet show_stdoutt cwdN( t tempfilet mkdtempt unpackt run_commandt FalseR ( t selft locationt temp_dir( ( s5 /usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyt export s c C@ s� t j j | | j d � } t j � } yI | j | � | j d d | � t | d � � } | j | � Wd QXWn/ t t j f k r� } t j d | | � n X| j d d g | d | �d S( Nt hgrct pathst defaultt ws/ Could not switch Mercurial repository to %s: %st updates -qR ( t ost patht joint dirnameR t SafeConfigParsert readt sett opent writet OSErrort NoSectionErrort loggert warningR ( R t destt urlt rev_optionst repo_configt configt config_filet exc( ( s5 /usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyt switch s c C@ s: | j d d g d | �| j d d g | d | �d S( Nt pulls -qR R ( R ( R R( R* ( ( s5 /usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyR / s c C@ s� | j � \ } } | r. | g } d | } n g } d } | j | | | | � r� t j d | | t | � � | j d d d | | g � | j d d g | d | �n d S( Ns (to revision %s)t s Cloning hg %s%s to %sR s --noupdates -qR R ( t get_url_revt check_destinationR&