£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>

Rec           @@  sc  d  d l  m Z d  d l Z d  d l Z d  d l Z d  d l m Z d  d l m Z m	 Z	 m
 Z
 m Z d  d l m Z d  d l m Z d  d l m Z m Z e j d  Z e j d	  Z e j d
  Z e j d  Z e r-d  d l m Z m Z d  d l m Z d  d l m Z d  d l m Z m Z n  e j e   Z! d e f d     YZ" e j# e"  d S(   i    (   t   absolute_importN(   t
   indent_log(   t   display_patht   is_console_interactivet   rmtreet   split_auth_from_netloc(   t   make_command(   t   MYPY_CHECK_RUNNING(   t   VersionControlt   vcss   url="([^"]+)"s   committed-rev="(\d+)"s   \s*revision="(\d+)"s   <url>(.*)</url>(   t   Optionalt   Tuple(   t   CommandArgs(   t
   HiddenText(   t   AuthInfot
   RevOptionst
   Subversionc           B@  s   e  Z d  Z d Z d Z d Z e d    Z e d    Z	 e d	    Z
 e d
    Z e d    Z e d    Z e d    Z e d    Z e d    Z d d  Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   t   svns   .svnt   checkouts   svn+sshs   svn+https	   svn+httpss   svn+svnc         C@  s   t  S(   N(   t   True(   t   clst
   remote_url(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   should_add_vcs_url_prefix+   s    c         C@  s
   d |  g S(   Ns   -r(    (   t   rev(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   get_base_rev_args/   s    c   	      C@  s   d } x t  j |  D] \ } } } |  j | k rA g  | (q n  | j |  j  t  j j | |  j d  } t  j j |  s q n  |  j |  \ } } | | k r | d } n$ | s | j |  r g  | (q n  t	 | |  } q W| S(   sR   
        Return the maximum revision for all files under a given location
        i    t   entriest   /(
   t   ost   walkt   dirnamet   removet   patht   joint   existst   _get_svn_url_revt
   startswitht   max(	   R   t   locationt   revisiont   baset   dirst   _t
   entries_fnt   dirurlt   localrev(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   get_revision3   s"    c         C@  s/   | d k r% t  t |   j | |  St |  S(   s   
        This override allows the auth information to be passed to svn via the
        --username and --password options instead of via the URL.
        t   ssh(   t   superR   t   get_netloc_and_authR   (   R   t   netloct   scheme(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyR0   O   s    c         C@  sJ   t  t |   j |  \ } } } | j d  r= d | } n  | | | f S(   Ns   ssh://s   svn+(   R/   R   t   get_url_rev_and_authR#   (   R   t   urlR   t	   user_pass(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyR3   \   s    !c         C@  s<   g  } |  r | d |  g 7} n  | r8 | d | g 7} n  | S(   Ns
   --usernames
   --password(    (   t   usernamet   passwordt
   extra_args(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   make_rev_argse   s    c         C@  sw   | } x] t  j j t  j j | d   se | } t  j j |  } | | k r	 t j d |  d  Sq	 W|  j |  d S(   Ns   setup.pysG   Could not find setup.py for directory %s (tried all parent directories)i    (	   R   R   R!   R    R   t   loggert   warningt   NoneR"   (   R   R%   t   orig_locationt   last_location(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   get_remote_urlp   s    $c         C@  sK  d d l  m } t j j | |  j d  } t j j |  ra t |   } | j   } Wd  QXn d } | j	 d  s | j	 d  s | j	 d  rt
 t t j | j d    } | d d =| d d	 } g  | D]2 } t |  d
 k r | d
 r t | d
  ^ q d g } n| j	 d  rt j |  }	 |	 sVt d j t       n  |	 j d  } g  t j |  D] }
 t |
 j d   ^ qud g } n ye |  j d d | g  } t j |  j d  } g  t j |  D] }
 t |
 j d   ^ q} Wn | k
 r%d  g  } } n X| r;t |  } n d } | | f S(   Ni    (   t   SubProcessErrorR   t    t   8t   9t   10s   

i   i	   s   <?xmls   Badly formatted data: {data!r}i   t   infos   --xml(   t   pip._internal.exceptionsR@   R   R   R    R   R!   t   opent   readR#   t   listt   mapt   strt
   splitlinest   splitt   lent   intt   _svn_xml_url_ret   searcht
   ValueErrort   formatt   localst   groupt   _svn_rev_ret   finditert   run_commandt   _svn_info_xml_url_ret   _svn_info_xml_rev_reR<   R$   (   R   R%   R@   t   entries_patht   ft   dataR4   t   dt   revst   matcht   mt   xmlR   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyR"      s>    !I;5c         C@  s   t  S(   s&   Always assume the versions don't match(   t   False(   R   t   destt   name(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   is_commit_id_equal   s    c         C@  sA   | d  k r t   } n  | |  _ d  |  _ t t |   j   d  S(   N(   R<   R   t   use_interactivet   _vcs_versionR/   R   t   __init__(   t   selfRg   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyRi      s
    		c         C@  s   d } |  j  d g  } | j |  s+ d S| t |  j   d } | j d  d j d  } y t t t |   } Wn t k
 r d SX| S(   s  Query the version of the currently installed Subversion client.

        :return: A tuple containing the parts of the version information or
            ``()`` if the version returned from ``svn`` could not be parsed.
        :raises: BadCommand: If ``svn`` is not installed.
        s   svn, version s	   --versioni    t   -t   .(    (    (	   RX   R#   RN   RM   t	   partitiont   tupleRJ   RO   RR   (   Rj   t   version_prefixt   versiont   version_listt   parsed_version(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   call_vcs_version   s    c         C@  s/   |  j  d k	 r |  j  S|  j   } | |  _  | S(   s  Return the version of the currently installed Subversion client.

        If the version of the Subversion client has already been queried,
        a cached value will be used.

        :return: A tuple containing the parts of the version information or
            ``()`` if the version returned from ``svn`` could not be parsed.
        :raises: BadCommand: If ``svn`` is not installed.
        N(   Rh   R<   Rs   (   Rj   t   vcs_version(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   get_vcs_version   s
    	c         C@  s3   |  j  s d g S|  j   } | d k r/ d g Sg  S(   sX  Return options to be used on calls to Subversion that contact the server.

        These options are applicable for the following ``svn`` subcommands used
        in this class.

            - checkout
            - export
            - switch
            - update

        :return: A list of command line arguments to pass to ``svn``.
        s   --non-interactivei   i   s   --force-interactive(   i   i   (   Rg   Ru   (   Rj   t   svn_version(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   get_remote_call_options   s    		c      
   C@  s   |  j  |  \ } } t j d | |  t   U t j j |  rQ t |  n  t d |  j	   | j
   | |  } |  j |  Wd QXd S(   s@   Export the svn repository at the url to the destination locations!   Exporting svn repository %s to %st   exportN(   t   get_url_rev_optionsR:   RE   R   R   R   R!   R   R   Rw   t   to_argsRX   (   Rj   R%   R4   t   rev_optionst   cmd_args(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyRx     s    
c         C@  s`   | j    } t j d | | t |   t d d |  j   | j   | |  } |  j |  d  S(   Ns   Checking out %s%s to %sR   s   -q(   t
   to_displayR:   RE   R   R   Rw   Rz   RX   (   Rj   Rd   R4   R{   t   rev_displayR|   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt	   fetch_new0  s    c         C@  s5   t  d |  j   | j   | |  } |  j |  d  S(   Nt   switch(   R   Rw   Rz   RX   (   Rj   Rd   R4   R{   R|   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyR   ?  s    c         C@  s2   t  d |  j   | j   |  } |  j |  d  S(   Nt   update(   R   Rw   Rz   RX   (   Rj   Rd   R4   R{   R|   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyR   G  s    	(   R   s   svn+sshs   svn+https	   svn+httpss   svn+svnN(   t   __name__t
   __module__Re   R   t	   repo_namet   schemest   classmethodR   t   staticmethodR   R-   R0   R3   R9   R?   R"   Rf   R<   Ri   Rs   Ru   Rw   Rx   R   R   R   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyR   %   s*   	2			!			($   t
   __future__R    t   loggingR   t   ret   pip._internal.utils.loggingR   t   pip._internal.utils.miscR   R   R   R   t   pip._internal.utils.subprocessR   t   pip._internal.utils.typingR   t    pip._internal.vcs.versioncontrolR   R	   t   compileRP   RV   RZ   RY   t   typingR
   R   R   R   R   R   t	   getLoggerR   R:   R   t   register(    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/subversion.pyt   <module>   s*   " ,