File "mercurial.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyc
File size: 4.5 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


abc@@sddlmZddlZddlZddlZddlmZmZddlm	Z	m
Z
ddlmZddl
mZejeZde
fdYZe	jedS(	i(tabsolute_importN(tdisplay_pathtrmtree(tvcstVersionControl(tpath_to_url(tconfigparsert	MercurialcB@sqeZdZdZdZdZdZdZd	Zd
Z	dZ
dZd
ZdZ
dZRS(thgs.hgtcloneshg+httpshg+httpsshg+sshshg+static-httpcC@sTtjdd}|j|z#|jd|gdtd|Wdt|XdS(s?Export the Hg repository at the url to the destination locations-exportspip-tarchivetshow_stdouttcwdN(ttempfiletmkdtemptunpacktrun_commandtFalseR(tselftlocationttemp_dir((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytexports
cC@stjj||jd}tj}yI|j||jdd|t|d}|j	|WdQXWn/t
tjfk
r}tj
d||nX|jddg|d|dS(	Nthgrctpathstdefaulttws/Could not switch Mercurial repository to %s: %stupdates-qR(tostpathtjointdirnameRtSafeConfigParsertreadtsettopentwritetOSErrortNoSectionErrortloggertwarningR(Rtdestturltrev_optionstrepo_configtconfigtconfig_filetexc((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytswitch s
cC@s:|jddgd||jddg|d|dS(Ntpulls-qRR(R(RR(R*((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyR/scC@s|j\}}|r.|g}d|}ng}d}|j||||rtjd||t||jddd||g|jddg|d|ndS(	Ns (to revision %s)tsCloning hg %s%s to %sR	s
--noupdates-qRR(tget_url_revtcheck_destinationR&tinfoRR(RR(R)trevR*trev_display((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytobtain3s	

cC@sO|jddgdtd|j}|j|rEt|}n|jS(Nt
showconfigs
paths.defaultRR(RRtstript_is_local_repositoryR(RRR)((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytget_urlEscC@s+|jddgdtd|j}|S(Ntparentss--template={rev}RR(RRR9(RRtcurrent_revision((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytget_revisionMscC@s+|jddgdtd|j}|S(NR<s--template={node}RR(RRR9(RRtcurrent_rev_hash((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytget_revision_hashSscC@sw|j|}|jjds1d|}n|jjddd}|sWdS|j|}d|||fS(Nshg:shg+t-iis%s@%s#egg=%s(R;tlowert
startswithtegg_nametsplittNoneR@(RtdistRtrepotegg_project_nameR?((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pytget_src_requirementYs
cC@stS(s&Always assume the versions don't match(R(RR(R*((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyt
check_versioncs(Rshg+httpshg+httpsshg+sshshg+static-http(t__name__t
__module__tnameRt	repo_nametschemesRR/RR7R;R>R@RJRK(((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyRs	
							
(t
__future__RtloggingRR
t	pip.utilsRRtpip.vcsRRtpip.downloadRtpip._vendor.six.movesRt	getLoggerRLR&Rtregister(((s5/usr/lib/python2.7/site-packages/pip/vcs/mercurial.pyt<module>sW