HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //lib64/python2.7/site-packages/mercurial/httppeer.pyc
�
1�3\c@@s0ddlmZddlZddlZddlZddlZddlZddlZddlm	Z	ddl
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZddlmZmZmZejZejZejZd�Z de!fd	��YZ"d
�Z#d�Z$d�Z%d
ej&fd��YZ'e(d�Z)dej*fd��YZ+d�Z,dej-j.fd��YZ/ej0ej1�de!fd��Y�Z2ej0ej3�de!fd��Y�Z4iie4d6dd6ej56Z6d�Z7dej9d�Z:ddd�Z;dS(i(tabsolute_importNi(t_(
tbundle2terrorthttpconnectiontpycompatt
repositorytstatichttprepoturltutiltwireprotoframingtwireprototypestwireprotov1peertwireprotov2peertwireprotov2server(tcborutilt
interfaceutilt
stringutilcC@s�tj|�d}|t|d�td�}g}d}x^tjdt|�|�D]A}|d7}|j|t|�tj||||!�f�qYW|S(scEncode a string value into multiple HTTP headers.

    ``value`` will be encoded into 1 or more HTTP headers with the names
    ``header-<N>`` where ``<N>`` is an integer starting at 1. Each header
    name + value will be at most ``limit`` bytes long.

    Returns an iterable of 2-tuples consisting of header names and
    values as native strings.
    s-%st000s: 
ii(Rtstrurltlentxrangetappendtstr(tvaluetheadertlimittfmttvaluelentresulttnti((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytencodevalueinheaders,s"
5t
_multifilecB@s;eZd�Zed��Zdd�Zejd�Z	RS(cG@sTx;|D]3}tj|d�stdt|�|��qqW||_d|_dS(NtlengthsO_multifile only supports file objects that have a length but this one does not:i(R	tsafehasattrt
ValueErrorttypet	_fileobjst_index(tselftfileobjstf((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt__init__Is
	cC@std�|jD��S(Ncs@s|]}|jVqdS(N(R"(t.0R*((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pys	<genexpr>Ts(tsumR&(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR"RscC@s�|dkr&djd�|jD��Sg}xz|r�|jt|j�kr�|j|j|jj|��t|d�}||kr�|jd7_n||8}q/Wdj|�S(Nitcs@s|]}|j�VqdS(N(tread(R,R*((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pys	<genexpr>Xsi����i(tjoinR&R'RRR/(R(tamttpartstgot((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR/Vs! cC@sg|tjkrtd��n|dkr9td��nx|jD]}|jd�qCWd|_dS(NsP_multifile does not support anything other than os.SEEK_SET for whence on seek()isQ_multifile only supports seeking to start, but that could be fixed if you need it(tostSEEK_SETtNotImplementedErrorR&tseekR'(R(toffsettwhenceR*((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR7bsN(
t__name__t
__module__R+tpropertyR"tNoneR/R4R5R7(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR!Hs		cC@sY|dkrd|d<n|jdd#�}|jdi�}|jd|�d|fg}	d}
|d#k	oxd|k}|r'|r'tjt|j���}|s�|}nct|t�r�t	j
|�}
t|�|
_|
}nt	j
|�}t|�|_t
||�}t|�|d	<n�|r�|d
ks?t�|d�}|rpt|jdd
�d�}
n|
dkr�tjt|j���}xCt|d|
�D]\}}|||<q�Wq�|	t|j��7}	ndtj|	�}d||f}d}tj|d�r'|j}n|d#k	rBt|�}n|d#k	rgd|krgd|d<nt�}t�}|d#k	r�|d�}|r�|jd�t|jd��}n|jd�nd|kr�|jd�nd|krN|d�rNgtjjtj�D]}|j�j^q}|jddj|��n|r�tdjt|��d|
pud�}x!|D]\}}|||<q�Wng}x3|D]+}|j�jd�r�|j|�q�q�W|r�djt|��|d<n|tj |�||�}|d#k	rL|jd |�|j!d!d"|�n|||fS($sWMake an HTTP request to run a command for a version 1 client.

    ``caps`` is a set of known server capabilities. The value may be
    None if capabilities are not yet known.

    ``capablefn`` is a function to evaluate a capability.

    ``cmd``, ``args``, and ``data`` define the command, its arguments, and
    raw data to pass to it.
    tpushkeyR.tdatatheadersssending %s command
tcmdithttppostargss
X-HgArgs-Posttcapabilitiest
httpheadert,isX-HgArgs?%ss%s%sR"sContent-Typesapplication/mercurial-0.1t
httpmediatypes0.1spartial-pulls0.2txs0.2tcompressionscomp=%st s	X-HgProtoisx-hgtVaryssending %d bytes
sContent-Lengths%dN("tpopR=tdebugturlreqt	urlencodetsortedtitemst
isinstancetbytestiotBytesIORR"R!tAssertionErrortinttsplitR R	R#tsettaddtcompenginestsupportedwireenginest
CLIENTROLEtwireprotosupporttnameR0tlowert
startswithRRRtadd_unredirected_header(tuitrequestbuildertcapst	capablefntrepobaseurlRAtargsR?R@tqt
headersizet
postargsoktstrargsRtargsioRDtencargsRRtqstcutsizetprotoparamst
mediatypestmttetcompstprotoheaderstvaryheaderstreq((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytmakev1commandrequestos�
		
		
.
cC@s*tjr|jS|j�s dS|j�S(s3Get request data, if any. If no data, returns None.N(Rtispy3R?thas_dataR=tget_data(Rw((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt_reqdata�s
	cC@s�|j}|jr�|jdd�r�d}||dtj|j��tj|j��f�d}x�t|j	��D]y\}}tj|�}tj|�}|j
d�r�|dkr�d}n|t|�7}qy||d||f�qyW|dk	r||d|�nt|�}|dk	rqt
|d	d�}	|	dkr\t|�}	n||d
|	�ntj�}
nd}z�y|j|�}Wn�tjk
r�}|jdkr�tjtd���n�nOtjk
r,}|jd
tj|j���|j�td|��nXWd|jr�|jdd�r�|r[|jnd}
||dtj�|
|
f�nXtj|�|S(sDSend a prepared HTTP request.

    Returns the response object.
    tdevelsdebug.peer-requestsdevel-peer-request: %s
s%s %ssX-hgarg-is  %s %ss+  %d bytes of commands arguments in headersR"s  %d bytes of datai�sauthorization failedshttp error requesting %s
Ni����s  finished in %.4f seconds (%d)(RKt	debugflagt
configboolRtbytesurlt
get_methodtget_full_urlR=RNtheader_itemsR_RR|tgetattrR	ttimertopenturlerrt	httperrortcodeRtAbortRthttplibt
HTTPExceptionthidepasswordt	tracebacktIOErrorturlmodtwrapresponse(RatopenerRwtdbgtlinet
hgargssizeRRR?R"tstarttrestinstR�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytsendrequest�sX				
#
tRedirectedRepoErrorcB@seZd�ZRS(cC@s#tt|�j|�||_dS(N(tsuperR�R+trespurl(R(tmsgR�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR+)s(R:R;R+(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�(scC@st}tj|j��}|j|�rD|t|� }t}	nt}	|jd�|jd�kr�t}|js�|j	t
d�|�q�nytj|jdd��}
Wn/tk
r�tj|j
jdd��}
nXtj|�}|
jd�rtj|j���n|
jd�s�|jdtj|��t
d�||
pYd	|jd
�f}|r�|	r�t||��q�tj|��ny|
jdd�d}
|
d
kr�|r�||
|fStjt
d���ntg|
jd�D]}t|�^q��}Wn0tk
rMtjt
d�||
f��nX|dkr||r�tjdj|�}q�n�|dkr�tjdtj |d��d}tj ||�}tjj!|�}|j|�}ntjt
d�||
f��||
|fS(Nt/sreal URL is %s
scontent-typeR.sapplication/hg-errorsapplication/mercurial-srequested URL: '%s'
sI'%s' does not appear to be an hg repository:
---%%<--- (%s)
%s
---%%<---
sno content-typeit-itcbors$unexpected CBOR response from servert.s+'%s' sent a broken Content-Type header (%s)itzlibitBs'%s' uses newer protocol %s(ii(ii("tFalseRR�tgeturltendswithRtTruetrstriptquiettwarnRt	getheadertAttributeErrorR@tgetR	R�R_RtOutOfBandErrorR/RKR�t	RepoErrorRVttupleRUR$RYtdecompressorreadertstructtunpacktreadexactlytforwiretype(RatbaseurltrequrlRmtresptcompressiblet	allowcbort
redirectedR�t	qsdroppedtprototsafeurlR�tsubtypeRtversion_infotelentenametengine((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytparsev1commandresponse-sZ		
"	
2
"thttppeercB@s�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	e
d�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(cC@s:||_||_||_||_||_||_dS(N(Rat_patht_urlt_capst
_urlopenert_requestbuilder(R(RatpathRR�RbRc((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR+|s					cC@s;x4|jjD]&}|j�t|dd���q
WdS(Nt	close_allcS@sdS(N(R=(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt<lambda>�R.(R�thandlerstcloseR�(R(th((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt__del__�s
cC@s|jS(N(R�(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�scC@sdS(N(R=(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytlocal�scC@s|S(N((R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytpeer�scC@stS(N(R�(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytcanpush�scC@sfy*|jj|jj|jj}}}Wntk
r>dSX|jjtd�|||f�dS(NsE(sent %d HTTP requests and %d bytes; received %d bytes in responses)
(R�t
requestscounttsentbytescounttreceivedbytescountR�RatnoteR(R(treqstsenttrecv((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR��s		
cC@s|jS(N(R�(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRC�sc	K@s�tj|�}t|j|j|j|j|j||�\}}}t|j|j	|�}t
|j|j||||�\|_}}|S(N(RtbyteskwargsRxRaR�R�tcapableR�R�R�R�(	R(RAt
_compressibleRfRwRnRmR�tct((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt_callstream�scK@s2|j||�}z|j�SWd|j�XdS(N(R�R/R�(R(RARftfp((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt_call�sc
K@s�|jd�}y|jd�}Wntk
r>dg}nXx'|D]}|tjkrF|}PqFqFWtj|j|d|�}tj	|j|d�}idd6}	z�ye|j
|d|d|	|�}
|
jd	d
�}t|�dkrtj
td�|
��n|SWn�tjk
r*�nntjk
r�}|jd
tjtjfkr~tjtd�|jd
��ntj|jd
��nXWd|j�tj|�XdS(NtunbundleRER.trbsapplication/mercurial-0.1sContent-TypeR?R@s
iisunexpected response:ispush failed: %s(R�RVR�RtbundletypestwritebundleRaR=RthttpsendfileR�RRt
ResponseErrorRR�R�tsocketRfterrnot
ECONNRESETtEPIPER�R�R4tunlink(
R(RAtcgRfttypestxR%ttempnameR�R@trtvalsterr((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt	_callpush�s6



#
c
K@sd}d}d}z�tjdddd�\}}tj|d�}|jd�}x&|r||j|�|jd�}qWW|j�tj	|j
|d�}idd	6}	|j|d
|d|	|�SWd|dk	r�|j�n|dk	r|j�tj|�nXdS(Ntprefixs
hg-bundle-tsuffixs.hgtwbiR�sapplication/mercurial-0.1sContent-TypeR?R@(
R=RtmkstempR4tfdopenR/twriteR�RR�RaR�R�(
R(RAR�Rftfhtfp_tfilenametfdtdR@((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt_calltwowaystream�s&	


 

cK@s|j|dt|�S(NR�(R�R�(R(RARf((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt_callcompressablescC@s
|�dS(N((R(t	exception((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt_aborts(R:R;R+R�RR�R�R�R�RCR�R�R�R�RRR(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�{s										(		cC@sytj�|jdd�}|rrg}xP|D]<}	|	tjkr^|jtd�|	�q/|j|	�q/Wn	tj}tj|dt	dt
d|�}
tj||
d|d|�}d	||f}t
|�d
kr�|d7}n|d|d
d
7}|jdt
|��xe|D]]\}
}}|jd|
tj|dd�f�t|j|
||d|��st�qWdjtt|j���}itjd6tjd6}|tj|�||�}|jddt
|��y|j|�}Wnntjk
r@}|j dkr:t!j"td���n�n/t#j$k
rn}|j%�t&d|��nX||fS(Ntexperimentalshttppeer.v2-encoder-ordersQwire protocol version 2 encoder referenced in config (%s) is not known; ignoring
thasmultiplesendtbuffersendstclientcontentencodersR�Rbs%s/%sis
/multirequests/%sissending %d commands
ssending command %s: %s
tindentitredirectR.tAcceptsContent-TypesContent-Lengths%di�sauthorization failed((R
tpopulatestreamencoderst
configlisttSTREAM_ENCODERSR�RRtSTREAM_ENCODERS_ORDERt
clientreactorR�R�R
t
clienthandlerRRKRtpprinttlisttcallcommandRTR0tmapRQt
flushcommandsRtFRAMINGTYPERRR`R�R�R�R�RR�R�R�R�R�R=(RaR�Rbtapiurlt
permissiontrequestsR
t
uiencoderstencoderstencodertreactorthandlerRtcommandRfR*tbodyR@RwR�Rs((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt
sendv2requestsV

			
	


tqueuedcommandfuturecB@seZdZdd�ZRS(s@Wraps result() on command futures to trigger submission on call.cC@s<|j�r"tjjj||�S|jj�|j|�S(N(tdoneRtfuturestFutureRt
_peerexecutortsendcommands(R(ttimeout((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRMs
N(R:R;t__doc__R=R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR#Jsthttpv2executorcB@sGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cC@s�||_||_||_||_||_||_t|_t|_t	�|_
g|_tj
�|_d|_d|_dS(N(t_uit_openerR�t_apiurlt_descriptort	_redirectR�t_sentt_closedRWt_neededpermissionst_callstweakreftWeakSett_futuresR=t_responseexecutort
_responsef(R(RaR�RbRt
descriptorR
((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR+Ys										cC@s|S(N((R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt	__enter__iscC@s|j�dS(N(R�(R(texctypetexcvaluetexctb((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt__exit__lscC@s0|jrtjd��n|jr6tjd��n||jdkr_tjd|��n|jd|}t|j��t|jdi��}|r�tjd|djt	|��f��n|j
t|d�O_
tjj
�}t|_||_|jj|�|jj|||f�|S(	Ns4callcommand() cannot be used after commands are sents*callcommand() cannot be used after close()tcommandss)wire protocol command %s is not availableRfs5wire protocol command %s does not accept argument: %ss, tpermissions(R1RtProgrammingErrorR2R/RWtkeysR�R0RNR3RR%R&R#t	__class__R'R7RXR4R(R(R RftcmdinfotunknownargsR*((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRos(		("		c	C@s�|jr
dS|jsdSt|_x;|jD]0}t|t�r-tjj|_	d|_q-q-Wg|jD]*\}}}|j�rk|||f^qk}d|_|s�dSt
|j�}d|kr�d|kr�|jd�nt|�dkr(tjtd�td�jt|����nidd6dd6|j�}t|j|j|j|j|||j�\}}tjjd�|_|jj|j ||�|_!dS(Ntpushtpullis6cannot make request requiring multiple permissions: %ss, trwtro("R1R4R�R7RPR#RR%R&RDR=R'tset_running_or_notify_cancelRWR3tremoveRRR�RR0RNRJR"R,R-R�R.R0tThreadPoolExecutorR8tsubmitt_handleresponseR9(	R(R*R RftcallsRARRR�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR(�s>			!	"
cC@s�|jr
dS|j�t|_|js-dSz|jj�Wd|jjdt�d|_d|_x<|jD]1}|j	�sp|j
tjt
d���qpqpWd|_XdS(Ntwaitsunfulfilled command response(R2R(R�R9RR8tshutdownR=R7R$t
set_exceptionRR�R(R(R*((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR��s 	
				cC@sx|j|�rqWdS(N(treaddata(R(RR�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRO�s(	R:R;R+R;R?RR(R�RO(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR+Ws				)	4	t
httpv2peercB@sbeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
cC@s~||_||_|jd�r.|d }n||_||_d||f|_||_||_tj	||�|_
dS(NR�i����s%s/%s(Rat
apidescriptorR�R�t_apipathR.R-R�R
tsupportedredirectsR0(R(RatrepourltapipathR�RbRV((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR+�s		
				cC@s|jS(N(R�(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRscC@sdS(N(R=(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�scC@s|S(N((R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�	scC@stS(N(R�(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�scC@s9|jjtd�|jj|jj|jjf�dS(NsE(sent %d HTTP requests and %d bytes; received %d bytes in responses)
(RaR�RR-R�R�R�(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�s		cC@sN|d	krtS|dkr tS|jd�rJ|td�|jdkStS(
Nt	branchmapt	getbundletknowntlookupR>Rscommand-R@(R[R\R]R^R>(R�R_RRVR�(R(R]((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�scC@s6|j|�rdStjtd�||f��dS(NsIcannot %s; client or remote repository does not support the %r capability(R�RtCapabilityErrorR(R(R]tpurpose((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt
requirecap.s
	cK@s/|j��}|j||�j�SWdQXdS(N(tcommandexecutorRR(R(R]RfRs((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�8scC@s+t|j|j|j|j|j|j�S(N(R+RaR-R�R.RVR0(R(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRb<s(R:R;R+RR�R�R�R�R�RaR�Rb(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyRU�s								
	tiniti2tpriorityc
C@sdd}d�}i}|jdd�}|rmidd6|d<|djtdjtt��dd	��nt|||||d
|�\}}	}
t|||�}y1t	|||	|
|dt
d|�\}}
}Wn|tk
rU}t|||||jd
|�\}}	}
t|||�}t	|||	|
|dt
d|�\}}
}nXz|j
�}Wd|j�X|
jd
�s�tjd|
��n|rA|
dkr�ytj|�d}Wq>tjk
r�tjtd�dtd���q>XqZ|
dkr%it|j��d6}qZtjtd�|
��nit|j��d6}||fS(NcS@stjd��dS(Nsshould not be called(RRB(R�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR�VsRshttppeer.advertise-v2R�sX-HgProto-1R@RHsX-HgUpgradeiRCR�R�sapplication/mercurial-sunexpected content-type: %ssapplication/mercurial-cboris&error decoding CBOR from remote serverthints5try again and consider contacting the server operatorsapplication/mercurial-0.1sapplication/mercurial-0.2tv1capabilitiess(unexpected response type from server: %s(sapplication/mercurial-0.1sapplication/mercurial-0.2(R=RtupdateR R0RNt	API_PEERSRxR�R�R�R�R�R/R�R_RRBRt	decodealltCBORDecodeErrorR�RRWRVR�(RaRR�RbRcR�Rftadvertisev2RwR�RmR�R�R�Rstrawdatatinfo((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytperformhandshakeRs^	

		c
	C@sYtj|�}|js!|jrItjtd�|jp?|j��n|j�\}}|jd|�|p�t	j
||�}t||||�\}}t|j
di�j��ttj��@}	t|	dd�dt�}
xQ|
D]I}d|djd	�|f}t|d
||||||d|�SWt||||||d�S(s-Construct an appropriate HTTP peer instance.

    ``opener`` is an ``url.opener`` that should be used to establish
    connections, perform HTTP requests.

    ``requestbuilder`` is the type used for constructing HTTP requests.
    It exists as an argument so extensions can override the default.
    sunsupported URL component: "%s"s	using %s
tapistkeycS@st|dS(NRd(Rh(R�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR��R.treverses%s/%stapibaseR�RcRf(R	RtquerytfragmentRR�RtauthinfoRKR�R�RnRWR�RCRhRNR�R�R�(
RaR�R�RbtuRRuR�RmtapipeerchoicestpreferredchoicestserviceRZ((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pytmakepeer�s&	.			
cC@s�|rtjtd���nyH|jd�rRtjrRtjtd���nt||�}|SWngtjk
r�}y4tj	|d||�}|j
td��|SWq�tjk
r�|�q�XnXdS(Ns!cannot create new http repositoryshttps:s1Python support for SSL and HTTPS is not installedsstatic-s(falling back to static-http)
(RR�RR_R�t	has_httpsRzR�RtinstanceR�(RaR�tcreatetintentst
createoptsR�t
httpexceptionR�((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyR|�s(<t
__future__RR�RRR4R�R�R5ti18nRR.RRRRRRRR�R	R
RRR
RtutilsRRRR�R�RLR tobjectR!RxR|R�R�R�R�R�twirepeerR�R"R%R&R#timplementertipeercommandexecutorR+tipeerv2RUtHTTP_WIREPROTO_V2RhRnR=trequestRzR|(((s8/usr/lib64/python2.7/site-packages/mercurial/httppeer.pyt<module>	sBX				'	w		:M�	C
�[	[0