/opt/alt/python34/lib/python3.4/site-packages/pip/vcs
Edit: /opt/alt/python34/lib/python3.4/site-packages/pip/vcs/mercurial.pyc (6796B)
Ñò
*‘Rec
@ sà d d k Z d d k Z d d k Z d d k Z d d k l Z d d k l Z l Z d d k l Z d d k
l Z l Z d d k
l Z d d k l Z d e f d „ ƒ YZ e i e ƒ d S(
iÿÿÿÿN( t call_subprocess( t display_patht rmtree( t logger( t vcst VersionControl( t path_to_url( t ConfigParsert Mercurialc B s 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 d „ Z d „ Z d „ Z d „ Z RS( t hgs .hgt clones hg+https hg+httpss hg+sshs hg+static-https hg-clone.txtsg # This was a Mercurial repo; to make it a repo again run:
hg init
hg pull %(url)s
hg update -r %(rev)s
c C sÍ d } } x¼ | i ƒ D]® } | i ƒ p | i ƒ i d ƒ o q n t i d | ƒ } | o | i d ƒ i ƒ } n t i d | ƒ } | o | i d ƒ i ƒ } n | o | o | | f Sq Wd S( Nt #s hg\s*pull\s*(.*)\s*i s ^hg\s*update\s*-r\s*(.*)\s*( NN( t Nonet
splitlinest stript
startswitht ret searcht group( t selft contentt urlt revt linet url_matcht rev_match( ( sB /opt/alt/python34/lib/python3.4/site-packages/pip/vcs/mercurial.pyt parse_vcs_bundle_file s
$c C s` t i d d ƒ } | i | ƒ z/ t | i d | g d | i d t d | ƒWd t | ƒ Xd S( s? Export the Hg repository at the url to the destination locations -exports pip-t archivet
filter_stdoutt show_stdoutt cwdN( t tempfilet mkdtempt unpackR t cmdt _filtert FalseR ( R t locationt temp_dir( ( sB /opt/alt/python34/lib/python3.4/site-packages/pip/vcs/mercurial.pyt export% s
c C sÛ t i i | | i d ƒ } t i ƒ } yJ | i | ƒ | i d d | ƒ t | d ƒ } | i | ƒ | i
ƒ WnC t t i f j
o. t
i ƒ d } t i d | | f ƒ n" Xt | i d d g | d | ƒd S(
Nt hgrct pathst defaultt wi s/ Could not switch Mercurial repository to %s: %st updates -qR ( t ost patht joint dirnameR t SafeConfigParsert readt sett opent writet closet OSErrort NoSectionErrort syst exc_infoR t warnR R" ( R t destR t rev_optionst repo_configt configt config_filet e( ( sB /opt/alt/python34/lib/python3.4/site-packages/pip/vcs/mercurial.pyt switch0 s
c C s@ t | i d d g d | ƒt | i d d g | d | ƒd S( Nt pulls -qR R, ( R R" ( R R<