ok
Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyo |
� x�_c @@ s d d l m Z d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z e r� d d l m Z 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 parse( t display_patht rmtree( t make_command( t MYPY_CHECK_RUNNING( t path_to_url( t VersionControlt vcs( t Optionalt Tuple( t HiddenText( t AuthInfot RevOptionst Bazaarc B@ s� e Z d Z d Z d Z d Z d � Z e d � � Z d � Z d � Z d � Z d � Z e d � � Z e d � � Z e d � � Z e d � � Z RS( t bzrs .bzrt branchs bzr+https bzr+httpss bzr+sshs bzr+sftps bzr+ftps bzr+lpc O@ sE t t | � j | | � t t d d � rA t j j d g � n d S( Nt uses_fragmentt lp( t superR t __init__t getattrt urllib_parset NoneR t extend( t selft argst kwargs( ( sI /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyR # s c C@ s d | g S( Ns -r( ( t rev( ( sI /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyt get_base_rev_args* s c C@ sZ t j j | � r t | � n | j | � \ } } | j t d | | | j � � � d S( sU Export the Bazaar repository at the url to the destination location t exportN( t ost patht existsR t get_url_rev_optionst run_commandR t to_args( R t locationt urlt rev_options( ( sI /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyR . s c C@ sW | j � } t j d | | t | � � t d d | j � | | � } | j | � d S( Ns Checking out %s%s to %sR s -q( t to_displayt loggert infoR R R$ R# ( R t destR&