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/self/root/proc/thread-self/root/usr/lib64/python2.7/site-packages/mercurial/help.pyc
�
1�3\c@@sTddlmZddlZddlZddlZddlZddlmZmZddl	m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZmZddlmZddd	ed�ed�ed	�hZejjejj ejj!ejj"ejj#ejj$ejj%ejj&ejj'ejj(ejj)ejj*ejj+g
Z,i
d
ejj6dejj 6dejj!6d
ejj%6dejj"6dejj#6dejj&6dejj$6dejj'6dejj(6dejj)6dejj*6dejj+6Z-dZ.dZ/dZ0dZ1dZ2dZ3e.e/e0e1e2e3gZ4ide.6de/6de06d e16d!e26d"e36d"e36Z5de6d#�Z7d$�Z8d%�Z9e:d&�Z;d'�Z<d(�Z=e:d)�Z>e?d*ged+�e>d*d,d-�fd.ged/�e>d.d,d-�fd0ged1�e>d0d,d-�fd2ged3�e>d2d,d-�fd4ged5�e>d4d,d-�fdged6�e>dd,d-�fd7ged8�e>d7d,d-�fd9ged:�e>d9d,d-�fd;ged<�e>d;d,d-�fd=ged>�e>d=d,d-�fd?ged@�e>d?d,d-�fg�Z@dA�ZAe?dBgedC�e>dB�e1fdDgedE�e>dD�e/fddFgedG�e>d�e0fdHgedI�e>dH�e2fdJgedK�e>dJ�e/fdLgedM�e>dL�e0fdNgedO�e>dN�e.fdPdQgedR�e>dP�e0fdSdTdUdVdWdXgedY�e>dS�e.fdZd[ged\�e>dZ�e.fd]ged^�e>d]�e/fd_d`dagedb�e>d_�e0fdcdddedfgedg�e>dd�e/fdhgedi�e>dh�e.fdjgedk�e8e0fdldmgedn�e>dl�e1fdogedp�e>do�e0fdqgedr�e>dq�e1fdsdtgedu�e>ds�e.fdvgedw�e>dv�e1fdxgedy�e>dx�e2fd-gedz�eAe2fd{ged|�e>d{�e0fg�ZBie@d-6ZCiZDd}�ZEe6d~�ZFe6d�ZGeGdBd�ejH��eGdZd�ejI�eGd_d�ejJ�eGdSd�ejI�eGddd�ejK�eGddd�ejL�eGddd�ejM�eGdod�ejNd�eO�d��ZPeEdeP�e6eOe:d��ZQe:e6eOd��ZRdS(�i(tabsolute_importNi(t_tgettext(tcmdutiltencodingterrort
extensionst	fancyoptst	filemergetfilesettminirsttpycompatt	registrartrevsetttemplatefilterst
templatefuncst
templatekwtuitutil(twebcommandss
(ADVANCED)s(DEPRECATED)s(EXPERIMENTAL)sRepository creationsRemote repository managementsChange creationsChange navigationsChange manipulationsChange organizationsWorking directory managementsFile content managementsChange import/exportsRepository maintenancetHelpsMiscellaneous commandssUncategorized commandstidstoutputtconfigtconceptstmisctnonesMercurial identifierssMercurial outputsMercurial configurationtConceptst
MiscellaneoussUncategorized topicsc@s�g}|ryxjt|j��D]S\}�|rTt�fd�tD��rTqn|jdd||�f�qWn|r�|jdd|�n|S(s-return a text listing of the given extensionsc3@s|]}|�kVqdS(N((t.0tw(tdesc(s4/usr/lib64/python2.7/site-packages/mercurial/help.pys	<genexpr>�ss
%s:%s: %s
t is
%s

(tsortedt	iteritemstanyt
_exclkeywordstappendtinsert(theadertextstindenttshowdeprecatedtrsttname((Rs4/usr/lib64/python2.7/site-packages/mercurial/help.pytlistexts}s#%cC@s�td�|�jt�}|jttd�tj�dt��|jttd�tj�d|j	��dj
|�}|S(NRsenabled extensions:R*sdisabled extensions:t(tloaddoct
splitlinestTruetextendR-RRtenabledtdisabledtverbosetjoin(RR+tdoc((s4/usr/lib64/python2.7/site-packages/mercurial/help.pytextshelp�s	
c
@s�g}t}x_|D]W}t|�dkrC|\}}}�}	n|\}}}�td�}	|r�t�fd�tD��r�qnd}
|r�d|}
nd|}t|tj�r�|j�}n|rt	|�r�td�t
j|�7�nt|t�r'|d|	7}t
}n-|dk	rTt|t�rT|d	|	7}n|j|
|�f�qW|r�|td
�7}nd|g}|jtj|d��dj|�S(
NitVALUEc3@s|]}|�kVqdS(N((RR(R(s4/usr/lib64/python2.7/site-packages/mercurial/help.pys	<genexpr>�sR.t-s--s (default: %s)s %s [+]s %ss ([+] can be repeated)s
%s:

i(tFalsetlenRR#R$t
isinstanceRt	customopttgetdefaultvaluetcallableRtbytestrtlistR1tNonetboolR%R2R
t	maketableR6(
R'toptionsR5tdatat
multioccurtoptiontshortopttlongopttdefaulttoptlabeltsotloR+((Rs4/usr/lib64/python2.7/site-packages/mercurial/help.pytoptrst�s8
#

 	
cC@s/|jd|�|r+|jd|�ndS(Ns"

.. container:: omitted

    %s

s%

.. container:: notomitted

    %s

(R%(R+tomittedt
notomitted((s4/usr/lib64/python2.7/site-packages/mercurial/help.pytindicateomitted�sc@s]|jr)|jd�r)|dkr)tS|jrY�rYt�fd�tD��rYtStS(Ntdebugc3@s|]}|�kVqdS(N((RR(R7(s4/usr/lib64/python2.7/site-packages/mercurial/help.pys	<genexpr>�s(t	debugflagt
startswithR1R5R#R$R;(RtcmdtkwR7((R7s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt	filtercmd�s
%,c@s]tj����fd�}igd6gd6gd6gd6}x�tD]y}|dd!\}}}tt||��s�||�s�t|�rG|||��rG|dj|d|f�qGqGWx�|jj�D]�\}	}
t	|
�dkr�|
d}nd	}t
tj|
d��p!d	}�|	ksH||�sH||�r�|j
�}
|
rg|
d}ntj|	�d}t||�|�r�q�n|dj||f�q�q�Wx�tjtjt�j�tj�j��D]t\}}|s�q�n|jd
�d}||�s$||�rH|dj||j
�df�nytj||d	�}Wntk
rwq�nXx�t|di�j�D]�\}	}
�|	ks�t	|
�dkr�||
d�r�tj|	�d}tj|
d�}|rt|�j
�d}nt
d
�}t||�|�r7q�n|dj||f�q�q�Wq�W|S(s�Return help topics matching kw.

    Returns {'section': [(name, summary), ...], ...} where section is
    one of topics, commands, extensions, or extensioncommands.
    c@s�tj|�kS(N(Rtlower(t	container(RX(s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt
lowercontains�sttopicstcommandsRtextensioncommandsiiiR.t.i����tcmdtables(no help text available)(RRZt	helptabletsumtmapR@R%ttableR"R<RRtgetdocR0RtparsealiasesRYt	itertoolstchainRR3R;R4t
rpartitiontloadtImportErrortgetattrR(RR^RXR\tresultsttopictnamesR'R7RWtentrytsummarytdocstdoclinestcmdnameR,tmodtcmddoc((RXs4/usr/lib64/python2.7/site-packages/mercurial/help.pyt
topicmatch�s`


"
$
	$
%."c@s��fd�}|S(s+Return a delayed loader for help/topic.txt.c@s�tjjtjd�}�r6tjj|��}ntjj|�d�}ttj|��}x,tj�g�D]}||�|�}qwW|S(Nthelps.txt(	tostpathR6RtdatapathRtreadfilet	helphookstget(RtdocdirR{R7trewriter(tsubdirRo(s4/usr/lib64/python2.7/site-packages/mercurial/help.pytloaders((RoR�R�((R�Ros4/usr/lib64/python2.7/site-packages/mercurial/help.pyR/s
tbundle2tBundle2R�t	internalstbundlestBundlestcbortCBORtcensortCensortchangegroupstChangegroupssConfig RegistrartrequirementssRepository Requirementstrevlogss
Revision Logstwireprotocols
Wire ProtocoltwireprotocolrpcsWire Protocol RPCtwireprotocolv2sWire Protocol Version 2cC@sNddg}x2tD]*\}}}|jd|d|f�qWdj|�S(s-Generate the index for the "internals" topic.s>To access a subtopic, use "hg help internals.{subtopic-name}"
s
s	 :%s: %s
iR.(tinternalstableR%R6(RtlinesRpR'R7((s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt
internalshelp0s
	t
bundlespecsBundle File FormatstcolorsColorizing OutputsthgrcsConfiguration Filest
deprecatedsDeprecated FeaturestdatessDate FormatstflagssCommand-line flagstpatternssFile Name PatternstenvironmenttenvsEnvironment Variablest	revisionstrevstrevsetsR
t	multirevstmrevssSpecifying RevisionstfilesetsR	sSpecifying File SetstdiffssDiff Formatssmerge-toolst
mergetoolst	mergetoolsMerge Toolst
templatingt	templatesttemplatetstylesTemplate Usageturlss	URL PathsRsUsing Additional FeaturestsubrepostsubrepotSubrepositoriesthgwebsConfiguring hgwebtglossarytGlossarythgignoretignores!Syntax for Mercurial Ignore FilestphasessWorking with Phasest	scriptings+Using Mercurial from scripts and automationsTechnical implementation topicstpagers
Pager SupportcC@stj|g�j|�dS(N(R~t
setdefaultR%(RoR�((s4/usr/lib64/python2.7/site-packages/mercurial/help.pytaddtopichooknsc@sTg}x,t|�D]}tj||�p/dj���s|jrkt�fd�tD��rkqnt���|r�tj	�j
d��jd��n�j�}|dg}	x^|dD]R}
|
j
�jd�r�Pn|r|	j|
j��q�|	jd|
j
��q�W|jdj|	��qWd	j|�}|j||�S(
s�Extract docstring from the items key to function mapping, build a
    single documentation block and use it to overwrite the marker in doc.
    R.c3@s|]}|�kVqdS(N((RR(ttext(s4/usr/lib64/python2.7/site-packages/mercurial/help.pys	<genexpr>ystlatin1iis>>>s  s
s

(R!RRftrstripR5R#R$RttextwraptdedenttdecodetencodeR0tstripRVR%R6treplace(RRoR7tmarkertitemsR�tentriesR,R�Rttl((R�s4/usr/lib64/python2.7/site-packages/mercurial/help.pytmakeitemsdocqs(&$
c@s&���fd�}t||�dS(Nc@st|||��d��S(NR�(R�(RRoR7(R�R�tsymbols(s4/usr/lib64/python2.7/site-packages/mercurial/help.pytadd�s(R�(RoR�R�R�R�((R�R�R�s4/usr/lib64/python2.7/site-packages/mercurial/help.pytaddtopicsymbols�ss.. bundlecompressionmarkers.. predicatesmarkers.. internaltoolsmarkers.. keywordsmarkers.. filtersmarkers.. functionsmarkers.. webcommandsmarkerR�c@s>d}tj��fd�}tjdtj|�||�S(Ns.. tweakdefaultsmarkerc@s9g�j�D]}|jd�|^q
}dj|�S(Nis
(R0tgroupR6(tmtsR�(trepl(s4/usr/lib64/python2.7/site-packages/mercurial/help.pytsub�s,s( *)%s(tuimodttweakrctreR�tescape(RRoR7R�R�((R�s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt
inserttweakrc�s	c@s�tj���d������fd�}d����fd��d��fd�}d��fd�}	d�fd��g}
�jd�}|s��dkr't�fd��D��r't���p�d�}g}
�jd	�r|
d
td�fg7}
n�jd�r>|
d
td�fg7}
n|
s�dtd�fd
td�fd
td�fdtd�fg}
nxb|
D]Z\}}||r�|
jd|�|
jt	j
t||�d��|
jd�q�q�W|
swtd�}td�}tj
|d|��qwnP�r:�dkr:g}�rU|�g7}n�jd	�rt||	g7}n�jd�r�||g7}n|s�|||	�f}nx�|D]1}y|�|�}
PWq�tjk
r�q�Xq�W�rtj���qwtd��}td��}tj
|d|��n=�jsXtd�dg}
n|
j�dtj����dj|
�S(s�
    Generate the help for 'name' as unformatted restructured text. If
    'name' is None, describe the commands available.
    c@s�y%tj|�jd��\}}Wn?tjk
rf}|jd��fd�}�|�}|SXg}t|ddd�r�|j|dj	d�|dj
r�y|j�|dj��Wq�tj
k
r�q�Xn|St|�dkrC|djd�r!|jd|d�qX|jd	|d|df�n|jd
|d��r��jr�t|�dkr�|jtd�d
j|d��n|jd�ttj|d��}|s�td�}ntj|dd�r_|dj}|djjd�r<td�|djd||f}q_td�|dj||f}n|jt�}�js~�r�|j|d�n
|j|�|jd�yjtj|�}	ttj|	��p�d}d|j�krtd�||f}
|jd|
�nWntk
r)nX�jrg|drg|jt td�|d�j!��n�j!r�|jt td��j"�j!��n�j!s��s�|jtd�|�q��js�|jtd��q�n|S(Ntstrictic@stj|�dj��S(Ni(RRgRV(tc(tprefix(s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt<lambda>�R.tbadaliass
ithgs%s
s	hg %s %s
shg %s
is

aliases: %s
s, s(no help text available)t
definitiont!s(shell alias for: %s

%s

defined by: %s
s%alias for: hg %s

%s

defined by: %s
R.s7(use 'hg help -e %s' to show help for the %s extension)s
%s
RFsglobal optionss$
(use 'hg %s -h' to show more help)
s;
(some details hidden, use --verbose to show complete help)(#RtfindcmdReRtAmbiguousCommandtargsRmRCR%R�t
unknowncmdR2RutUnknownCommandR<RVtquietRR6RRRfRtsafehasattrtsourceR�R0R1RtfindR�tKeyErrorRPR5t
globalopts(R,tsubtopictaliasesRqtinsttselectR+R7R�Rvtmsg(R^tfullt
helpextcmdthelplistRR�(R�s4/usr/lib64/python2.7/site-packages/mercurial/help.pythelpcmd�sz

""'

		

	

)			c@s�i}i�i�xZ�jj�D]I\}}tj|�}|d}dj|��|<|d}|r}||�r}q"n|r��dkr�|j�jkr�q"n�dkr�t|dt�s�q"q�nt	j
|�}t�|�|�r�q"nt|�}|st
d�}n|j�dj��|<t|dd�pOtjj}	|j|	g�j|�q"Wg��s��js��jt
d��n�S�js�dkr��jt
d��q�d	kr��jt
d
��q�jt
d��n����fd�}
�d"kr2|
��n�t|j��tt�}|rh�jd
|�nxvtD]n}	|j|	g�}|rot|�dkr�tt|	�}
�jd|
�n�jd�|
|�qoqoW|j}|d�p|d�p|d�}�r�|r�tt
d�tj ��}|rZ�jd��j!|�n�jt
d��i}xvt"D]n}|dd!\}}}t|�dkr�|dr�|d}nt#}|j|g�j|d|f�qzWt|j��tt$�}|r"�jd|�nx�t$D]�}	|j|	g�}|r)t|�dkr}tt%|	�}
�jd|
�n�jd�x.|D]#\}}�jd||f�q�Wq)q)Wn�jr�n��j&r%�jdt't
d��j(�j&���dkr��jt
d��q�n��dkrG�jt
d��n��rn�rn�jt
d���n_�r��r���j�kr��jt
d���n'�jt
d��r�d �p�d!��S(#Nis, t	shortlistt	helpbasics(no help text available)thelpcategorysno commands defined
sbasic commands:

RTs,debug commands (internal and unsupported):

slist of commands:
c@sgt|�}xT|D]L}�jrD�jd�|�|f�q�jd|�|f�qWdS(Ns	 :%s: %s
(R!R5R%(tcmdsR�(thR+tsynsR(s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt
appendcmds6s

	"s/help categories missing from CATEGORY_ORDER: %sis
%s:
s
tkeywordtcommandt	extensionsenabled extensions:s
additional help topics:
is5help categories missing from TOPIC_CATEGORY_ORDER: %ss	 :%s: %s
s
%s
sglobal optionss/
(use 'hg help' for the full list of commands)
sF
(use 'hg help' for the full list of commands or 'hg -v' for details)
s/
(use 'hg help %s' to show the full help text)
sF
(use 'hg help -v -e %s' to show built-in aliases and global options)
sB
(use 'hg help -v%s' to show built-in aliases and global options)
R R.(R�RT()ReR"RRgR6t
__module__t__name__RmR;RRfRYRRR0R�RCRR�t
CATEGORY_NONER�R%R�tsettkeystCATEGORY_ORDERt	develwarnRR<tCATEGORY_NAMESR-RR3R2RbtTOPIC_CATEGORY_NONEtTOPIC_CATEGORY_ORDERtTOPIC_CATEGORY_NAMESR5RPR�(R�toptstcatsR�tetfstftfuncR7tcatR�t
missing_ordertcatfnstcatnametextanyoptsR(t	topiccatsRoRpR'tcategoryR]ttR(R^R�R,R(R�R+R�s4/usr/lib64/python2.7/site-packages/mercurial/help.pyR�s�

			
	

	%



'

%		
c	@s�d\}}|rO|tkrOx.t|D]\}}}||kr)Pq)q)Wn|s�xFtD],}|dd!\}}}||kr\Pq\q\Wtj|��ntj|�g}|s�|jdtd��nt	|�r|g|��j
�D]}d|^q�7}n�js1td�}t||�ny4t
j|�j�|jtd�||f�Wntjk
r{nX|S(Niis    %s
s(no help text available)s:(some details hidden, use --verbose to show complete help)s4
use 'hg help -c %s' to see help for the %s command
(NN(RCt	subtopicsRbRR�R
tsectionR%RR@R0R5RSRR�Re(	R,R�R'R7RpRoR+R�RQ(R^R(s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt	helptopic�s4
0	c@s�y4tj|�}ttj|��p0td�}Wn>tk
rtd}tj|�}|sut	j
|��qunXd|kr�|d}}n|jdd�\}}td�|jd�d|fg}|r�|j
|jt��|jd�n�js td�}t||�n|r�y
|j}Wntk
rLi}nXtg|D]}	|	jd	�d
^qW�}
|j
�|
j��n|jtd��|S(Nsno help text availables
R.is%s extension - %s

R`i����s:(some details hidden, use --verbose to show complete help)t|isB(use 'hg help extensions' for information on enabling extensions)
(RR�RRRfRR�RCtdisabledextRR�tsplitRjR2R0R1R%R5RSRatAttributeErrorR�t	partitiont__contains__(R,R�RvR7theadttailR+RQtctR�tmodcmds(R�R(s4/usr/lib64/python2.7/site-packages/mercurial/help.pythelpext�s6%
&	


,c@s�tj�|�jdd��\}}}|j�d}ttd�|i||6dddt�}|jd�|jtd	��|S(
NRR�is,'%s' is provided by the following extension:R)iR*s
sB(use 'hg help extensions' for information on enabling extensions)
(Rtdisabledcmdt
configboolR0R-RR1R%(R,R�RWtextR7R+(R(s4/usr/lib64/python2.7/site-packages/mercurial/help.pyR��s	
R�c3@s|]}�|VqdS(N((Rto(R(s4/usr/lib64/python2.7/site-packages/mercurial/help.pys	<genexpr>�sR.R�Rt
ExtensionsR�R^tCommandsR]tTopicsR_sExtension Commandss%s:

is
s
no matchess"try 'hg help' for a list of topicsthintR�sno such help topic: %sstry 'hg help --keyword %s'sMercurial Distributed SCM
N(RtbyteskwargsRCRR#RxRR%R2R
RER!RtAbortR�R�t	strkwargsR6(RR^R,R�R�R�RR�RR#R+RXtmatchest	helpareasRttitleR�R+tqueriesR((R^R�R�R�R,RRR�s4/usr/lib64/python2.7/site-packages/mercurial/help.pythelp_�sl!V�%$.
#
	cK@s�|dkrg}nt|�}d}}}	|dk	r�|jd�}
|
jd�}|
r}|tkr}|
jd�}n|
r�tjdj|
��}	q�n|jdd�}|j	�d}|dks�||kr�|}nt
|||d|d|d||�}
tj|
d	|�\}}d
|krB|j
d�n
|j
d�tj|
d	|�\}}|	r�tj||	�}n|	r�|o�|r�tjtd
�|��ntj||�S(s�get help for a given topic (as a dotted name) as rendered rst

    Either returns the rendered help text or raises an exception.
    R`iRt	textwidthiR�R�R�tkeepR5RQRRshelp section not found: %sN(RCRBRtpopRRRZR6t	configintt	termwidthR3R
tparseR%tfiltersectionsRR-Rtformatplain(RR^tfullnameR5R�R�RR,R�Rt	namepartsR4R8R�tblockstpruned((s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt
formattedhelps6		
(St
__future__RRhRzR�R�ti18nRRR.RRRRRRR	R
RRR
RRRRR�RR�RR$R�tCATEGORY_REPO_CREATIONtCATEGORY_REMOTE_REPO_MANAGEMENTtCATEGORY_COMMITTINGtCATEGORY_CHANGE_MANAGEMENTtCATEGORY_CHANGE_ORGANIZATIONtCATEGORY_FILE_CONTENTStCATEGORY_CHANGE_NAVIGATIONtCATEGORY_WORKING_DIRECTORYtCATEGORY_IMPORT_EXPORTtCATEGORY_MAINTENANCEt
CATEGORY_HELPt
CATEGORY_MISCR�RRtTOPIC_CATEGORY_IDStTOPIC_CATEGORY_OUTPUTtTOPIC_CATEGORY_CONFIGtTOPIC_CATEGORY_CONCEPTStTOPIC_CATEGORY_MISCRRRR;R-R8RPRCRSRYRxR/R!R�R�RbRR~R�R�R�tbundlecompressiontopicsR�tinternalsdoctkeywordstfilterstfuncsR^R1R�R3R@(((s4/usr/lib64/python2.7/site-packages/mercurial/help.pyt<module>s8j														











	
			+		?		'
		
	
	
�v