ok
Direktori : /opt/alt/python33/lib/python3.3/site-packages/pip/vcs/ |
Current File : //opt/alt/python33/lib/python3.3/site-packages/pip/vcs/bazaar.pyc |
� �2{Yc @ s� d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z m Z m Z d d l m Z m Z d d l m Z d e f d � � YZ e j e � d S( i����N( t urlparse( t logger( t rmtreet display_patht call_subprocess( t vcst VersionControl( t path_to_urlt Bazaarc B s� e Z d Z d Z d Z d Z d Z d Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( t bzrs .bzrt branchs bzr-branch.txts bzr+https bzr+httpss bzr+sshs bzr+sftps bzr+ftps bzr+lps[ # This was a Bazaar branch; to make it a branch again run: bzr branch -r %(rev)s %(url)s . c O s[ t t | � j | | | � t t d d � rW t j j d g � t j j d g � n d S( Nt uses_fragmentt lp( t superR t __init__t getattrR t NoneR t extendt non_hierarchical( t selft urlt argst kwargs( ( s? /opt/alt/python33/lib/python3.3/site-packages/pip/vcs/bazaar.pyR s c C s� d } } x� | j � D]� } | j � s | j � j d � rE q n t j d | � } | ru | j d � j � } n | | j � j � j d d � d } | r | r | | f Sq Wd S( Nt #s ^bzr\s*branch\s*-r\s*(\d*)i i ( NN( R t splitlinest stript startswitht ret searcht groupt endt split( R t contentR t revt linet match( ( s? /opt/alt/python33/lib/python3.3/site-packages/pip/vcs/bazaar.pyt parse_vcs_bundle_file s "&c C s t j d d � } | j | � t j j | � r>