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: //proc/thread-self/root/lib64/python2.7/site-packages/mercurial/dispatch.pyc
�
1�3\c@@smddlmZmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
mZddlmZddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z!m"Z"ddl#m$Z$m%Z%de&fd	��YZ'd
�Z(ej)rkd�Z*d�Z+nd
�Z*d�Z+d�Z,d�Z-d�Z.d�Z/d�Z0d�Z1d�Z2d�Z3d�Z4de&fd��YZ5de&fd��YZ6d�Z7d�Z8d�Z9d�Z:d �Z;d!�Z<dd"�Z>d#�Z?d$�Z@d%�ZAd&�ZBd'�ZCdS((i(tabsolute_importtprint_functionNi(t_(ttracing(tcmdutiltcolortcommandstdemandimporttencodingterrort
extensionst	fancyoptsthelpthgthookt	profilingtpycompattscmutiltuitutil(tprocutilt
stringutiltrequestcB@s,eZddddddd�Zd�ZRS(cC@s[||_||_||_||_||_||_i|_|pHg|_d|_	dS(N(
targsRtrepotfintfouttferrtearlyoptionst
prereposetupstNonetcanonical_command(tselfRRRRRRR((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt__init__3s							cC@s�d}|jj}z�x||r�|j�\}}}y|||�Wq|dkritj�d}n|jjd�|jjdt�qXqWWd|dk	r�|�nXdS(Niserror in exit handlers:
tforce(	RRt
_exithandlerstpoptsystexc_infotwarnt	tracebacktTrue(R texcthandlerstfuncRtkwargs((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_runexithandlersHs	N(t__name__t
__module__RR!R.(((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR2scC@s_t�tjd��ttjd�}WdQXd}yt|�}Wn"tj	k
rj}|}d}nXt
j|jd�r�y|jj
j�Wq�tk
r�}|}d}q�Xnt
j|jd�rCyX|dk	r|jtjkr|jjjdtj|j��n|jjj�WqCtk
r?d}qCXnt�tj|d@�dS(	srun the command in sys.argvsparse args into requestiNi����RRs
abort: %s
i�(t	initstdioRtlogRRtsysargvRtdispatchR	t
StdioErrorRtsafehasattrRRtflushtIOErrorterrnotEPIPERtwriteRt
strtolocaltstrerrort
_silencestdioR%texit(treqterrtstatuste((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pytrunYs2



cC@sdS(N((((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR1|scC@shxatjtjfD]M}y|j�wWntk
r=nXy|j�Wqtk
r_qXqWdS(N(R%tstdouttstderrR7R8tclose(tfp((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR>s


cC@s4x-tjtjtjfD]}tj|�qWdS(N(R%tstdinRERFRt	setbinary(RH((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR1�scC@sdS(N((((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR>�sc@s8�fd�}g|D]}||�dkr|^qS(Nc@stjd�|�j�S(N(tdifflibtSequenceMatcherRtratio(tx(tvalue(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt<lambda>�tg333333�?((tsymbolsROtsimts((ROs8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_getsimilar�scC@sct|�dkr-|td�|d�n2|r_djt|��}|td�|�ndS(Nis(did you mean %s?)
is, s(did you mean one of %s?)
(tlenRtjointsorted(R;tsimilartss((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_reportsimilar�s
cC@s�g}t|tj�r0t|j|j�}nt|j�dkr�|td�t	j
|jd�|jdf�|jdjd�r�|td��q�n(|td�|jd�t||�|j
r�|td�|j
�ndS(Nishg: parse error at %s: %s
it sunexpected leading whitespace
shg: parse error: %s
s(%s)
(t
isinstanceR	tUnknownIdentifierRURRtfunctionRVRRRtbytestrt
startswithR[thint(R;tinstRY((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_formatparse�s%
	cC@sdjd�|D��S(NR\cs@s|]}tj|�VqdS(N(Rt
shellquote(t.0ta((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pys	<genexpr>�s(RW(R((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_formatargs�scC@svtjd��a|jr%|j}n!|jr=|jj}n	tj}y�|jsgtjj�|_n|jj	t
|j|j��|jdr�|jjdddd�n|j
r�|j
|j_
n|jr�|j|j_n|jr|j|j_nWnztjk
rW}|jtd�|�|jrS|jtd�|j�ndStjk
r}}t|j|�dSXt|j�}tj�}d	}zyt|�p�d
}Wn�tjk
r}|jjtd�|�|jr|jjtd�|j�n�n�tk
r�}yAt|tj�rItd
�}ntd�}|jj|�Wn>tjk
r|n+tk
r�}|jtj kr��q�nXd}nXWdtj�|}|jj!�|jj"r|d|jj#d<|jjddt$j%|jj#��n|jjdd||d@|d|j&�y|j'�Wn|p`d}nXX|SWdQXdS(sErun the command specified in req.args; returns an integer status codesdispatch.dispatchR(Rtons--tracebacks
abort: %s
s(%s)
i����iis** ProgrammingError: %s
s** (%s)
skilled!
s
interrupted!
Ni�tcommand_durationt	uiblockeds
ui blocked mst
commandfinishs!%s exited %d after %0.2f seconds
i�R((RR2RRRRFtuimodtloadRtupdatet_earlyparseoptsRt	setconfigRRR	tAbortR;RRbt
ParseErrorRdRhRttimert	_runcatchtProgrammingErrortKeyboardInterruptR]tSignalInterruptR8R9R:R7tlogblockedtimest
_blockedtimesRt	strkwargsRR.(R@RRctmsgt	starttimetrettduration((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR4�s~				
					 


c	@s�tjd���d�}�j�y@x9dD]1}tt|d�}|r,tj||�q,q,WWntk
runX��fd�}t�|�SWdQXdS(Nsdispatch._runcatchcW@s
tj�dS(N(R	Rx(R((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt	catchtermstSIGBREAKtSIGHUPtSIGTERMc
	@s"d}yRtj�jtji�}|d}tj|tjt�\}}|d}Wn&t	j
t	jtt
jfk
r�nX|dkr+d|kr+t�j�dks��jddks��jdjd�s��jddks��jd	dkr+t	jtd
�tj�j�f��q+ny�d}itjd6}itjd6}t�j�jd�}�jr�x9|D].\}	}
}�jjj|	|
|d
d�q}Wn�jdd�}t}|s��j�r�d}nG�jdr-tj ��)yt!|�}Wnt"k
r#nXWdQXn|j||<|j||<�jdr��j#td��|dkr�|||dkr��j#td�|�ntj ��||�WdQXnzt$��SWd�j%�XWn<�jdrt&j'�||t(j)�d�n�nXdS(Nitserves--stdiois-Ris--iis/potentially unsafe serve --stdio invocation: %stpdbtconfigtsources--configRtdebuggersAentering debugger - type c to continue starting hg or h for help
s3%s debugger specified but its module was not found
(*RRRRt
globaloptsRtfindcmdttabletFalseR	tUnknownCommandtAmbiguousCommandt
IndexErrortgetopttGetoptErrorRVRaRrRRtpprintR�t	set_tracetpost_mortemt_parseconfigRRRRqR�tplainRtdeactivatedt
__import__tImportErrorR't	_dispatchR7R(t	print_excR%R&(
trealcmdtcmdargstcmdtaliasestentryR�t
debugtracetdebugmortemtcfgstsectnametvaltdebugmod(R@R(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt
_runcatchfuncsr

		

	&	









(R�R�R�(RR2RtgetattrtsignalRt
ValueErrort
_callcatch(R@R�R�tnumR�((R@Rs8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyRus		

\cC@s�ytj||�SWn�tjk
r`}|jtd�|jddj|jd�f�nAtjk
r }|jdr�|j	d�t
j|jd�}|jtd�|jd|f�tj
||jddtdt�q�|jtd	�|jd�|jtd
��n�tjk
rF}t|j|�dStjk
rb}td�|jd}y@tj|t|jdd
t�}|j|�|j|�Wq�tjtjfk
r^t}t|j�dkr2t|jd|jd�}|r2|j|�t|j|�t}q2n|s_|j|�|jtd��q_q�Xn?tk
ru�n,tk
r��nt|�s��q�nXdS(s�like scmutil.callcatch but handles more high-level exceptions about
    config parsing and commands. besides, use handlecommandexception to handle
    uncaught exceptions.
    s&hg: command '%s' is ambiguous:
    %s
iR\iRs
hg %s: %s
tfulltcommandshg: %s
s0(use 'hg help -v' for a list of global options)
i����shg: unknown command '%s'
t
unknowncmdis'(use 'hg help' for a list of commands)
(Rt	callcatchR	R�R'RRRWtCommandErrortpagerRR`Rthelp_R�R)RsRdR�Rt
formattedhelpR;RrRVRUR[R8Rwthandlecommandexception(RR,Rctmsgbytestnocmdmsgt	formattedt	suggestedRS((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR�msT(

$&	





c@s�g}tj|d�s-t|d|�}n|r�djttj|��}g���fd�}tjd||�}gt	��D]\}}|�kr�|^q��t
j|�}n|�S(Nt	_origfuncRR\c@sYt|jd��d}�j|�|t��kr@�|Stjtd���dS(Nis#too few arguments for command alias(tinttgrouptappendRVR	RrR(tmR�(t	givenargstnums(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pytreplacer�s

s
\$(\d+|\$)(RR6R�RWtmapRRetretsubt	enumerateRt
shlexsplit(tfnR�RR�R�tiRN((R�R�s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt	aliasargs�sc@s�td�t|�D���|�d<d�d<dj|��d<djd�|D���d<d	j�j��jdd
�}tj|�}|j�fd�|�S(sXinterpolate args into cmd for shell aliases

    This also handles $0, $@ and "$@".
    cs@s)|]\}}d|d|fVqdS(s$%diN((RfR�targ((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pys	<genexpr>�ss$0t$s$$R\s$@cs@s|]}tj|�VqdS(N(RRe(RfR�((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pys	<genexpr>�ss"$@"t|s\$c@s�|j�S(N(R�(RN(t
replacemap(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyRP�RQ(tdictR�RWtkeystreplaceR�tcompileR�(R�RR�tregextr((R�s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pytaliasinterpolate�s

!tcmdaliascB@s>eZd�Zdd�Zed��Zd�Zd�ZRS(c@s|�_�_d�_|�_d�_g�_g�_d�_d�_	t
�_|�_y^t
j�j|�\}}x3|j�D]%\}}	|	|kr�|�_Pq�q�Wt�_Wntjk
r�t
�_nX�jstd��j�_	dS�jjd�rb�jd�t�_��fd�}
|
�_�j||��j�dSytj�j�}Wn9tk
r�}td��jtj|�f�_	dSXt|�\}
}|
rtd��jdjtj|
�d	�f�_	dS|j d	��_}|�_y{t
j||t
�d}t!|�d
krg|\�_�_}n|\�_�_d}�j|||�j|�Wnhtjk
r�td��j|f�_	t�_n0tj"k
rtd��j|f�_	nXdS(
NRQsno definition for alias '%s't!ic@sidj�jf��d6}���fd�}tjd|��}t�j�|�}�j|d|dd�j�S(NR\tHG_ARGSc@s~|j�ddkr |j�St|j�d�t��krL|j�S�jdt|j�d��jf�dSdS(NiR�sLNo argument found for substitution of %i variable in alias '%s' definition.
RQ(tgroupsR�R�RVtdebugR�(R�(RR R(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt	_checkvar�s
"
	!s
\$(\d+|\$)tenviront
blockedtagsalias_%s(RWR�R�R�R�tsystem(RRtenvR�R�(R tshdef(RRs8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR��s 
s&error in definition for alias '%s': %ssLerror in definition for alias '%s': %s may only be given on the command linet/iis+alias '%s' resolves to unknown command '%s's-alias '%s' resolves to ambiguous command '%s'(#R�R�tcmdnamet
definitionRR�R�toptsRtbadaliasR�R�R�RR�t	iteritemsR)tshadowsR	R�RRatshellt
_populatehelpRR�R�Rtforcebytestrt_earlysplitoptsRWtziplistR$RVR�(R RR�R�tcmdtableR�R�R�taliasRCR�RRct	earlyoptsR�t
tableentrytcmdhelp((R R�s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR!�sr										

	
					 		c
C@si}xud	D]m}|jdd||fd�}|dkrDq
ntj|�sptd�||f|_dS|||<q
W|jd|p�d�|_|jr�|jjd|�r�|jdt	|�|_n|jdt
j|��}	|	dk	rt
j|	�}	n|	|_
dS(
NtdocRR�s%s:%ss/non-ASCII character in alias definition '%s:%s'RQshg i(R�R(R�RRt
isasciistrRR�tgetRRaRVRtgetdoctsysstrt__doc__(
R RR�R�R�tdefaulthelptcfgtktvR�((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR�s"
	cC@s(tjtj|j�}t|j|�S(N(RtmaplistRt
expandpathR�R�R�(R R((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR6scC@ssitd6t�d6td6td6}||kr@t|��n|js[tj|d�rc||St|j|�S(Ntnorepotintentstoptionalrepot	inferrepoR�(	R)tsetR�tAttributeErrorR�RR6R�R�(R R�t	adefaults((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt__getattr__;scO@sd|jr�d}|jrky9tj||j�d \}}td�||f}Wqktjk
rgqkXntj	|jd|��n|j
r�|jd|j|jf�n|j
dd|j|j�tj|d�r�|j|||�Sy tj|j�|||�SWnMtjk
r_dj|jg|j�}|jd|j|f��nXdS(	Nis"'%s' is provided by '%s' extensionRbs alias '%s' shadows command '%s'
tcommandaliassalias '%s' expands to '%s'
R�R\(R�RR�R
tdisabledcmdR�RR	R�RrR�R�R�R2R�RR6R�tchecksignaturetSignatureErrorRWR(R RRR�RbR�text((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt__call__Ds,				 N(	R/R0R!RR�tpropertyRRR(((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR��s
	S		tlazyaliasentrycB@sDeZdZd�Zejd��Zd�Zd�Zd�Z	RS(s<like a typical command entry (func, opts, help), but is lazycC@s7||_||_||_|j�|_||_dS(N(RR�R�tcopyR�R�(R RR�R�R�R�((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR!bs
			cC@s%t|j|j|j|j|j�S(N(R�RR�R�R�R�(R ((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt	_aliasdefiscC@sI|j}|dkr|S|dkr,|jS|dkr?|jSt�dS(Niii(RR�RR�(R tntaliasdef((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt__getitem__ns	cc@s$xtd�D]}||Vq
WdS(Ni(trange(R R�((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt__iter__yscC@sdS(Ni((R ((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt__len__}s(
R/R0R�R!Rt
propertycacheRRRR(((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR
_s			cC@s�x�|jddt�D]w\}}y||j|kr>wnWnttfk
rXnX|jd|�}t|||||�}|||<qWdS(NR�t	ignoresub(tconfigitemsR)R�tKeyErrorRtconfigsourceR
(RR�R�R�R�R�((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt
addaliases�s"
cC@si}i}ytj|tj|�}Wn1tjk
r[}tjdtj	|���nX|r|d|d}}t
j|tj|j
dd��\}}|d}t|d|�}|jd|�}|r�tjtjtj|��|}nt|d�}	nd}g}	x>tjD]3}
|	j|
d|
d||
d|
df�q$Wytj||	|dt�}Wn1tjk
r�}tj|tj	|���nXx0tjD]%}
|
d}||||<||=q�W||r�|dp�d|||fS(NiiRtstricttdefaultsitgnu(RRR�R�R�R	R�RRR�RR�R�t
configboolR�R�RR�RR�R�tlistR�R)(RRtoptionst
cmdoptionsRcR�R�R�RtctoR((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_parse�s<
1
cC@s�g}x�|D]�}y�g|jdd�D]}|j�^q)\}}|jdd�\}}|sm|rvt�n|j|||d�|j|||f�Wq
ttfk
r�tjtd�t	j
|���q
Xq
W|S(s0parse the --config options from the command linet=it.s--configs?malformed --config option: %r (use --config section.name=value)(tsplittstripR�RqR�R�R	RrRRR`(RR�tconfigsR�tcfgelemR�ROtsection((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR��s
.	cC@sFi}tj|tj|d|jd�dtdidgd6�|S(NRtstrictflagstearlyt
optaliasesRt
repository(RRR�R�R)(RRR!((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyRp�s
cC@s7d}ddddg}tj|||dtdt�S(sCSplit args into a list of possible early options and remainder argssR:scwd=srepository=srepo=sconfig=Rtkeepsep(RtearlygetoptR)(Rtshortoptionstlongoptions((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR��sc	

C@s�tj||d|tddj|�d|d|�yTt||||�}	tj||d|tddj|�d|	d|d|�WnItk
r�tj||d|tddj|�d|d|��nX|	S(	Nspre-%sRR\tpatsR�spost-%stresultsfail-%s(RR)RWt_runcommandR�t	Exception(
tluiRR�tfullargsRR!tdtcmdpatsR"R~((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt
runcommand�s(
(
(
cC@s�|dkrZytj�}WqZtk
rV}tjtd�tj|j���qZXnt	j
|�pld}|s~|}n.|j�}|jt
jj|dd�|�|r�|j|�}|j�}|jt
jj|dd�|�n||fS(spReturn (path, local ui object) for the given target path.

    Takes paths in [cwd]/.hg/hgrc into account."
    s+error getting current working directory: %sRQs.hgthgrcN(RRtgetcwdtOSErrorR	RrRR<R=RtfindrepoRt
readconfigtostpathRWR�(RtrpathtwdRCRDR9((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt	_getlocal�s 	"%c@si�ytj�tj���Wntjk
r9dSX�sDdStj}�d�y1�jdd�}tj�||�\}}Wnt	j
t	jfk
r�dSX|d�|d��rtj
�d�rt��\}����fd��������fd�SdS(s=Return the function to run the shell alias, if it is requiredNiRRR�c@s���d�S(Ni(((RR�R(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyRP RQc
@s&t�d��d ���gi�	S(Ni(R=R((RR�R;R9R!R(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyRP!s(RRR�R�R�R�RRR�R	R�R�RR6R�(R9RRR�RR�R�t
_earlyopts((RR�R;R�R9R!Rs8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_checkshellaliass(	


c@s|j�|j�|jd}|r5tj|�n|jd}t�|�\}}�|h}|jr�|j|jj�n|jds�|jds�|jdrxXd8D]M}tj	t
|j|��}x(|D] }|jd||d|�q�Wq�Wn|jdr;x'|D]}|jd	d
dd�qWn|jd	d
�}	t
j|d
|	���}
tj|�|j�_t|tj�t|���}|r�|�S|jdd
�}|r�|t_n�}
t|��\}��}}||_|d|jdkr-tjtd���n|d|jdkr\tjtd���n|d|jdkr�tjtd���n|d|jdkr�tjtd���n|dr�|dt_n|dr�|dt_n|dr/d��������fd�}�j|�n|drF|
j �n|dsd|dsd|dr�xrd9D]g}|||j|kr�qkntj	t
||��}x(|D] }|jd||d|�q�WqkWn|dr
x'|D]}|jdddd�q�Wn|drAx'|D]}|jdddd�qWn|j!d t"�rpx|D]}t#|_$qZWn|d!}x:|D]2}|r�|jdd!|d"�nt%j&|�q�Wt'j(|d#�r��j)d$|�n.|d#d%krx|D]}|j*�q�Wn|d&r#tj+��S|d'rItj,�|d(|dk	�S|s_tj,�d)�Sd}�}�j.se|r�|r�|j}n|r��j/|j_/�j0|j_0�j1|j_1nbyot2j3�d*|d+|j4d,�j5�}|j6�stjtd-�|��n|jjd.d/|j7d0�Wn�tj8k
rM�n�tj9k
r&|ri�n�j:s'�j;r��r�|r�tj<t=j>��}|d1}|r�|j?|�t@|�kr�d2|g|
|_||jd<tA|�Sn|stj9td3�tjB���n�q'nX|rR|j�|d4rR|jC�}qRn�jDd1|�n|r��jEtd5��ntF|
�}�jGd(d6|�tjH|������fd7�}z&tI||||
�||||�	SWd|r||jkr|jJ�nXWdQXdS(:NtcwdR0tverboseR�tquietRs--tprofileRtenabledttrues	--profiletfallbackencodingR�s'option --config may not be abbreviated!s$option --cwd may not be abbreviated!ssoption -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!R�s)option --debugger may not be abbreviated!RtencodingmodettimecS@sNtj�}|ddkrJ|d|d|d|dtj�f}n|S(Nigiiii(RCttimesRRtclock(tt((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt	get_timesps.c	@so��}�jtd�|d�d|d�d|d�d|d�d|d�df�dS(Ns4time: real %.3f secs (user %.3f+%.3f sys %.3f+%.3f)
iiiii(R'R(RU(RVRTR(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt
print_timews		R(Ris--tracebacktnoninteractivetinteractivetoffs-ytinsecureRs--colorR�sinternal-always-tautotversionRR�t	shortlistRDt
presetupfuncsR�srepository '%s' is not localtbundletmainreporootRis--repositorys+no repository found in '%s' (.hg not found)thiddenswarning: --repository ignored
s%s
c@stj������S(N(RR((RR,t	strcmdoptR(s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyRP�RQ(RKR�RL(RKR�RL(KRRRRCtchdirRGRtaddRR`tboolRqRRRMR
tloadallt	__class__RRR�RIR�RRPR%RR	RrRRQtatexittstartR�R�R)tinsecureconnectionsRtsetupRt	parseboolR�tdisablepagertversion_R�RR�RRRR
R0RR�tlocaltroottRequirementErrort	RepoErrorRRR�RRAtcountRVR�R?t
unfilteredtinsertR'RhR2R{R=RG(R@RJRERDR9tuistoptR�tui_RMtprofilertshellaliasfntfallbackR:R�R!R"RWtcoloroptRR<trepostguessR|R;((RR,RVRTRcRs8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR�$s		

	


%


		


		



%










		
	
!


	
cC@sXy%tjd|��|�SWdQXWn,tjk
rStj|td���nXdS(s8Run a command function, possibly with profiling enabled.sRunning %s commandNsinvalid arguments(RR2R	R	R�R(RR!R�tcmdfunc((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR7�s
cC@s�tjdd�}d|df}|jdd�dkrfx*tj�D]\}}tjt|dd��}t|dtd��}|j	�s�|d	|f}Pntj
|�r�qFng|j�D]}tj|d�^q�}||kr�qFng|D]}||kr�|^q�}	t|	p'|�}
|d
dksM|
|dkrF||
|f}qFqFWn|d
dk	r�|\}}}t
|ttf�s�djg|D]}tj|�^q��}ntd
�|||tj|�f}nA|jdd�}
|
dkrtd�}
ntd�|
d}tjtj�jdd�}|td�|td�tj�td�djgtj�D]}|d
^q��7}|S(s:Produce a warning message for the current active exceptionRiRQRtsupportcontactt
testedwithtbuglinksthe extension author.tunknowniiR's�** Unknown exception encountered with possibly-broken third-party extension %s
** which supports versions %s of Mercurial.
** Please disable %s and try your action again.
** If that fixes the bug please report it to %s
s)https://mercurial-scm.org/wiki/BugTrackers?** unknown exception encountered, please report by visiting
** s
s
** Python %s
s*** Mercurial Distributed SCM (version %s)
s** Extensions loaded: %s
s, N(RtversiontupleRR�R
RR�R�RR)tismoduleinternalR(tmaxR]tbyteststrRWRtsysbytesR%R]R�(RtcttworstR�tmodR�treportRUttestedtlowertnearestR#twarningt
bugtrackert
sysversionRN((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt_exceptionwarning�sF
+% 	%	!	/cC@sBt|�}|jdd|tjtj���|j|�tS(s�Produce a warning message for broken commands

    Called when handling an exception; the exception is reraised if
    this function returns False, ignored otherwise.
    tcommandexceptions%s
%s
(R�R2RR�R(t
format_excR'R�(RR�((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyR�+s

(Dt
__future__RRRKR9R�RCR�R�R�R%RRR(ti18nRthgdemandimportRRQRRRRRR	R
RRR
RRRRRRmRtutilsRRtobjectRRDtispy3R1R>RUR[RdRhR4RuR�R�R�R�R
RR%R�RpR�R=RRGRIR�R7R�R�(((s8/usr/lib64/python2.7/site-packages/mercurial/dispatch.pyt<module>sXj'	"									J	l	4		�!		)						�		<