403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/mercurial/__pycache__/dispatch.cpython-313.pyc
�

6�hk�����SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	r	SSK
r
SSKJr SSK
Jr SSKJr SSKJrJrJrJrJrJrJrJrJrJrJrJrJrJ r J!r!J"r"J#r$J%r% SSK&J'r' SS	K(J)r)J*r*J+r+ "S
S5r,Sr-S
r.Sr/Sr0Sr1Sr2S(Sjr3Sr4Sr5Sr6Sr7"SS5r8"SS5r9Sr:Sr;Sr<S)Sjr=Sr>S r?S!r@S*S"jrAS#rBS$rCS%rDS&rES'rFg)+�)�annotationsN)�Iterable�)�_)�tracing)�cmdutil�color�commands�config�demandimport�encoding�error�
extensions�	fancyopts�help�hg�hook�	profiling�pycompat�	registrar�scmutil�ui�util)�rcutil)�procutil�
stringutil�urlutilc�6�\rSrSrSSjrSSjrSrg)�request�9Nc	��XlX lX0lX@lXPlX`lXpl0UlU=(d /UlSUl	g�N)
�argsr�repo�fin�fout�ferr�fmsg�earlyoptions�
prereposetups�canonical_command)	�selfr#rr$r%r&r'r(r*s	         �4/usr/lib/python3/dist-packages/mercurial/dispatch.py�__init__�request.__init__:sL���	����	����	��	��	����+�0�b���"&���c�X�SnURRnU(a%UR5up4nU"U0UD6 U(aM%UbUeg! Uc[R"5SnURRS5 URR
SS9 Nb=f!UbUef=f)Nrserror in exit handlers:
T)�force)r�
_exithandlers�pop�sys�exc_info�
warnnoi18n�	traceback)r,�exc�handlers�funcr#�kwargss      r-�_runexithandlers�request._runexithandlersZs������7�7�(�(��	��%-�\�\�^�"��F�2��$�)�&�)��(����	���
2��{�!�l�l�n�Q�/���G�G�&�&�'C�D��G�G�%�%�D�%�1�����	��s"�B"�A�B"�AB�B"�"B))
r#r+r)r'r%r(r&r*r$r)NNNNNNN)�return�None)�__name__�
__module__�__qualname__�__firstlineno__r.r=�__static_attributes__�r0r-rr9s$���
��
�
�
��&�@r0rc�$�Sn[US5(a/UceURceURR5 [US5(a�UceURceUbZUR
[
R:wa<URRS[R"UR5-5 URR5 U$U$![anUnSnSnAN�SnAff=f![a SnU$f=f)Nr&���r's
abort: %s
)�hasattrr&�flush�OSErrorr'�errno�EPIPE�writer
�
strtolocal�strerror)r�err�status�es    r-�_flushstdiorTls���
�F��r�6����~��~��w�w�"�"�"�	��G�G�M�M�O�
�r�6����~��~��w�w�"�"�"�		���3�9�9����#;����
�
�"�X�%8�%8����%F�F��
�G�G�M�M�O��M�6�M��%�	��C��F��	���	��F��M�	�s*�C$�)A7C?�$
C<�.C7�7C<�?D�Dc�2�[5 [R"S5 [[R
SS5nSSS5 [
W5n[5 [R"US-5 g!,(df   N==f![a SnN9f=f)zrun the command in sys.argvzparse args into requestrNrH�)�	initstdior�logrr�sysargv�dispatch�
_silencestdio�KeyboardInterruptr5�exit)�reqrRs  r-�runr_�sw��
���
�[�[�2�
3��(�*�*�1�2�.�/�C�4��#�����
�H�H�V�c�\��4�
3��
�����s'� B�A6�B�6
B�B�B�Bc�z�[Rb�S[RRS.n[[RS5(a[RRUS'[
R"[RR[RR[RR40UD6[l[Rb�S[RRS.n[[RS5(a[RRUS'[
R"[RR[RR[RR40UD6[l
[Rb�[
R"[RR[RR[RRS[RRS9[lgg)N�
)�newline�line_buffering�
write_through)r5�stdoutrcrIrd�io�
TextIOWrapper�bufferr
�errors�stderr�stdin)r<s r-rWrW�sp���z�z���!�j�j�7�7�
���3�:�:��/�/�&)�j�j�&>�&>�F�?�#��%�%��J�J���s�z�z�2�2�C�J�J�4E�4E�
�IO�
��
��z�z���!�j�j�7�7�
���3�:�:��/�/�&)�j�j�&>�&>�F�?�#��%�%��J�J���s�z�z�2�2�C�J�J�4E�4E�
�IO�
��
��y�y���$�$��I�I����I�I����I�I�����9�9�3�3�

��	�r0c���[R[R4HnUcMUR5 M g![a Of=fUR5 MA![a MNf=fr")r5rerjrJrK�close)�fps r-r[r[�sf���z�z�3�:�:�&��
�:��	��H�H�J��
'���	��	��	��H�H�J���	��	�s!�?�
A�A�A"�"
A0�/A0c�2�SRSU55$)N� c3�N# �UHn[R"U5v� M g7fr"�r�
shellquote)�.0�as  r-�	<genexpr>�_formatargs.<locals>.<genexpr>�s���:�T��X�(�(��+�+�T���#%)�join�r#s r-�_formatargsr{�s���9�9�:�T�:�:�:r0c��Sn[U5n[URU5nU(a	U(dUnU$![RanUnSnSnANESnAff=f)zErun the command specified in req.args; returns an integer status codeNrH)�_rundispatchr�
StdioErrorrTr)r^rQrRrS�rets     r-rZrZ�sY��
�C���c�"��
�c�f�f�c�
"�C�
�6����M������������s�7�A�A�Ac�f�[R"S5 UR(a
URnO8UR(aURRnO[R
nUR(d#[RR5UlURR[URUR55 URS(aURRSSSS5 UR(aURURl
UR(aURURlUR(aURURlUR(aURURl[)UR5n[*R,"5nSn[/U5=(d Sn[*R,"5U-
nURR?5 URR@(abUS
-URRBS'URR"S0[DRF"URRB5D6 US-nURRSSUUUUUURHS9 URK5 URR?5 UsSSS5 $![ R"a1nUR%UR'55 SnASSS5 gSnAff=f![ R0aonURR![3S	5U-5 UR4(a1URR![3S
5UR4-5 eSnAf[6a�n[9U[ R:5(a[3S5nO[3S5nURR!U5 O%![ R:a O[<a Of=fSnSnAGNgSnAff=f! U=(d SnGN�=f![*R,"5U-
nURR?5 URR@(abUS
-URRBS'URR"S0[DRF"URRB5D6 US-nURRSSUUUUUURHS9 URK5 O! U=(d SnO=fURR?5 f=f!,(df   g=f)Nzdispatch._rundispatch�	traceback�ui�on�--tracebackrHrrs** ProgrammingError: %s
s** (%s)
skilled!
s
interrupted!
i�scommand_durationrVs
commandfinishs!%s exited %d after %0.2f seconds
)�return_code�durationr+)s	uiblockedsui blocked ms
)&rrXr'rrrj�uimod�loadr)�update�_earlyparseoptsr#�	setconfigr%r&r(r�AbortrN�formatr{r�timer�	_runcatch�ProgrammingErrorr�hintr\�
isinstance�SignalInterrupt�BrokenPipeErrorrJ�logblockedtimes�
_blockedtimesr�	strkwargsr+r=)	r^r'�inst�
formattedargs�	starttimer�msgr�r�s	         r-r}r}�s��	���,�	-��8�8��8�8�D�
�V�V��6�6�;�;�D��?�?�D�	��6�6������������#�#�O�C�F�F�C�H�H�$E�F�����-���� � ���e�^�L��w�w� �W�W����
��x�x�!�h�h������x�x�!�h�h������x�x�!�h�h�����
$�C�H�H�-�
��J�J�L�	���/	��C�.�%�A�C�*�z�z�|�i�/�H��F�F�L�L�N��v�v�%�%�<D�t�O����$�$�%8�9����
�
� �&���(�(����)=�)=�>��
��)�K��F�F�J�J� �5����'�!�"%�"7�"7�
�	
�
 ��$�$�&�
�F�F�L�L�N��_
.�	-��0�{�{�	��J�J�t�{�{�}�%��5
.�	-��0	���%�%�	��F�F�L�L��7�8�4�?�@��y�y������Q�|�_�t�y�y�8�9��� �
	�
��d�E�$9�$9�:�:��L�/�C��-�.�C������S�!���(�(�
��"�
��
���C��
	��J
 ��i�R���/�z�z�|�i�/�H��F�F�L�L�N��v�v�%�%�<D�t�O����$�$�%8�9����
�
� �&���(�(����)=�)=�>��
��)�K��F�F�J�J� �5����'�!�"%�"7�"7�
�	
�
 ��$�$�&��
 ��i�R����F�F�L�L�N��]
.�	-�s��AV"�/EL�>,V"�+M�?CV"�Q.�.V"�M�'M�V"�M�V"�Q+�/A*O�
Q+�'AP9�8Q&�9Q�
Q&�	Q�Q&�Q�Q&� R�&Q+�+R�.
Q>�;V"�CV�!U2�1V�2
V	�? V�V"�"
V0c�@^^�[R"S5 SnTRmSH3n[[US5nU(dM[R"X15 M5 UU4Sjn[
TU5sSSS5 $![
a N(f=f!,(df   g=f)Nzdispatch._runcatchc�"�[Rer")rr�rzs r-�	catchterm�_runcatch.<locals>.catchtermJs���'�'�'r0)�SIGBREAK�SIGHUP�SIGTERMc��>�Sn[R"TRSS[R05nUSn[R
"U[RS5up4USnUS:Xa�SW;a�SnSU;nU(aUS-
n[TR5U:wdvTRSS:wdcTRSRS	5(d@TRS
S:wd-TRSS:wdU(aTTRSS:waA[R"[!S5["R$"TR54-5eS
nS
[&R(0nS
[&R*0n	[-TR.[0R2TR4S5n
[7TR.TR4S5nTR8(aaU
H*up�p�TR8R.R;X�X�S9 M, UH+up�nTR8R.R;X�USS9 M- TR=SS5n[&nU(aTR?5(aS
nORTR4S(a>[@RB"5 [E[0RF"U55nSSS5 UR(X�'UR*X�'TR4S(aoTRK[!S55 US
:wa(X�US
:XaTRK[!S5U-5 [@RB"5 X�"5 SSS5 [MT5TRO5 $![R[R[[R4a GN\f=f![Ha GNf=f!,(df   GN=f!,(df   N�=f!TRO5 f=f! TR4S(a6[PRR"5 W	W"[TRV"5S
5 e=f)NrFsserves--stdio�s--hiddenrs-R�--��s/potentially unsafe serve --stdio invocation: %sspdb�config_file�config)�source�--configr��debuggersAentering debugger - type c to continue starting hg or h for help
s3%s debugger specified but its module was not found
),rr#r
�
globaloptsr�findcmd�tabler�UnknownCommand�AmbiguousCommand�
IndexError�getopt�GetoptError�len�
startswithr�rr�pprint�pdb�	set_trace�post_mortem�_parse_config_filesrrrYr)�_parseconfigr$r�r�plainr�deactivated�
__import__�sysstr�ImportError�warn�	_dispatchrJr8�	print_excr5r6)�realcmd�cmdargs�cmd�aliases�entry�nbargs�hashiddenaccess�debugger�
debugtrace�debugmortem�	file_cfgs�cfgs�sec�name�valr��debugmodr^rs                 ��r-�
_runcatchfunc� _runcatch.<locals>._runcatchfuncVs�����G�
�#�-�-��H�H�Q�K��!4�!4�b����a�j��!(����h�n�n�e�!L���!�!�*���(�"�z�W�'<���"-��"8��"��a�K�F�����M�V�+��x�x��{�e�+��x�x��{�-�-�e�4�4��x�x��{�h�.��x�x��{�j�0�&������{�2��+�+��L�M�%�,�,�S�X�X�6�8�9���
L
�!��$�c�m�m�4�
�%�s���7��0��F�F�H�,�,�c�.>�.>�~�.N��	�$�C�F�F�C�,<�,<�Y�,G�H���8�8�3<�.��3������-�-�c��-�L�3<�+/���3������-�-��s�;�.��+/��9�9�U�K�8�����2�8�8�:�:�%�H��%�%�k�2�&�1�1�3�!�'1�(�/�/�(�2K�'L�H�4�(0�'9�'9�
�$�(0�(<�(<��%��#�#�K�0��G�G��N���!�F�*�&�0�J�v�4F�F�����!B��'�	'��&�1�1�3�"�,�.�4��$�S�>��H�H�J��W�$�$��&�&���"�"�	�

��

��Z +�!� �!��4�3��:4�3��
�H�H�J��
��#�#�K�0��'�'�)���)�#�,�,�.��*;�<��s��A%N�E
P�'O�)O
�BP�
O-�'P�0
O>�:P�8O�O�

O�O�O�O�
O*�%P�-
O;�7P�>P�P�A
Q )rrXr�getattr�signal�
ValueError�
_callcatch)r^r�r��numr�rs`    @r-r�r�Gs����	���)�	*�	(��V�V��	�7���f�d�D�1���3��M�M�#�1�8�{	�z�"�m�,�W
+�	*���	��	��
+�	*�s4�B�A?�	A?�#B�?
B�	B�B�B�
Bc�$�Sn[R"X5$![RaOnSnUR	[S5URSRUR54-5 SnAGO�SnAf[Ra�nSnUR(a�URS5 [R"UR5nUR	[S5URU4-5 [R "XRSS	S
9 SnAGO�UR	[S5UR-5 UR	[S55 SnAGO�SnAf[R"GaMnSn[S
5UR-n[$R&"U[URS	S9nUR	U5 UR)U5 SnAGO![R"[R*4a� SnUR,(am[R."UR,UR5nU(a;UR	U5 UR	S[R0"U5-5 S	nU(d+UR	U5 UR	[S55 SnAO3f=fSnAf[2a e[4a e [7U5(deO=fUR9SS5(aU$g)z�like scmutil.callcatch but handles more high-level exceptions about
config parsing and commands. besides, use handlecommandexception to handle
uncaught exceptions.
rH�
s&hg: command '%s' is ambiguous:
    %s
rpN�helps
hg %s: %s
FT)�full�commandshg: %s
s0(use 'hg help -v' for a list of global options)
shg: unknown command '%s'
)�
unknowncmds(%s)
s'(use 'hg help' for a list of commands)
r�sdetailed-exit-code)r�	callcatchrr�r�r�prefixry�matches�CommandErrorr��pagerr�bytestr�messager
�help_r�r�
formattedhelprNr��all_commands�
getsimilar�similarity_hintrKr\�handlecommandexception�
configbool)	rr;�detailed_exit_coder��msgbytes�nocmdmsg�	formatted�	suggested�sims	         r-r�r��sf��
��.�� � ��*�*���!�!�
���
���
�9�:��{�{�D�I�I�d�l�l�3�4�
5�	
�	
�����	M����<�<��H�H�W���'�'����5�H��G�G�A�n�%����x�(@�@�A��N�N�2�|�|�%��F�F��G�G�A�k�N�T�\�\�1�2��G�G�A�J�K�L�L�����H����2�3�d�l�l�B��	H��*�*��H�d�l�l�t��I�
�G�G�H���H�H�Y�����$�$�e�k�k�2�
	H��I�� � ��&�&�t�'8�'8�$�,�,�G����G�G�H�%��G�G�I��(=�(=�c�(B�B�C� $�I������!�����E�F�G��
	H����
���
��%�b�)�)��*��
�}�}�U�1�2�2�!�!�sU��K5�AA8�8K5�B
E)�"AE)�)K5�K	�AG)�)CK�?K	�K�K	�	*K5c�x^^�/n[US5(d
[USU5nU(a�SR[[R
U55n/mUU4Sjn[R"SXC5n[T5VVs/sHupVUT;dM
UPM snnm[R"U5nUT-$s snnf)N�	_origfuncr#rpc��>�[URS55S-
nTRU5 U[T5:aTU$[R
"[
S55e)Nrs#too few arguments for command alias)�int�group�appendr�r�
InputErrorr)�mr��	givenargs�numss  ��r-�replacer�aliasargs.<locals>.replacersR����a�g�g�a�j�/�A�%�C��K�K����S��^�#� ��~�%��"�"�1�%K�#L�M�Mr0�
\$(\d+|\$))rIr�ry�maprrs�re�sub�	enumerater�
shlexsplit)�fnr�r#r�r�i�xr�s `     @r-�	aliasargsrs����
�D��2�{�#�#��r�6�4�(����i�i��H�/�/��6�7����	N��f�f�^�X�3��#,�Y�#7�I�#7�4�1�1�D�=�Q�#7�I�	��"�"�3�'���)����Js�B6�B6c�^�[U5VVs0sHup4SUS--U_M snnmUTS'STS'SRU5TS'SRSU55TS	'S
RTR55RSS5n[R
"U5nUR
U4SjU5$s snnf)
zPinterpolate args into cmd for shell aliases

This also handles $0, $@ and "$@".
s$%drs$0�$s$$rps$@c3�N# �UHn[R"U5v� M g7fr"rr)rt�args  r-rv�#aliasinterpolate.<locals>.<genexpr>8s���#M���H�$7�$7��$<�$<��rxs"$@"�|s\$c�*>�TUR5$r")r�)r
�
replacemaps �r-�<lambda>�"aliasinterpolate.<locals>.<lambda><s���:�a�g�g�i�0r0)rry�keys�replacer�compiler)r�r#r�r	r�regex�rrs       @r-�aliasinterpolater)s����7@��o�F�o�F�A�&�A��E�"�C�'�o�F�J��J�u���J�u���	�	�$��J�u��
�)�)�#M��#M�M�J�w���I�I�j�o�o�'�(�0�0��v�>�E�
�
�
�5��A��5�5�0�#�6�6��Gs�B=c�@�\rSrSrSrS	Sjr\S5rSrSr	Sr
g)
�cmdaliasi?c�D^^�U=TlTlSTlUTlSTl/Tl/TlSTlSTlSTl	UTl
[R"TRU5upgUR5Hup�X�LdMUTl O STlTR(d[#S5TR-TlgTRR%S5(aITRSSmSTlUU4Sjn
U
TlSTlTR+XTTR5 g[,R."TR5n[7U5up�U
(aC[#S	5TRS
R9[,R:"U
6S54-TlgUR=S5=TlnUTl[R"X�S5Sn[?U5S:�aUuTlTlnOUuTlTlSnSTlTR+XUTRU5 g![R a STlGN�f=f![0a=n[#S5TR[2R4"U54-TlSnAgSnAff=f![R a) [#S
5TRU4-TlSTl	g[R@a" [#S5TRU4-Tlgf=f)Nr0FTsno definition for alias '%s'�!rc��>^^�SSRTR4T-50nUUU4Sjn[R"SUT5n[	TRTU5nTRXBSTR-S9$)NsHG_ARGSrpc�:>�UR5SS:XaUR5$[UR5S5[T5::aUR5$TR	S[UR5S5TR
4-5 g)Nrr
sLNo argument found for substitution of %i variable in alias '%s' definition.
r0)�groupsr�r�r��debugr�)r�r#r,rs ���r-�	_checkvar�0cmdalias.__init__.<locals>.fn.<locals>._checkvaras����x�x�z�!�}��,� �w�w�y�(��Q�X�X�Z��]�+�s�4�y�8� �w�w�y�(����J�"�1�8�8�:�a�=�1�4�9�9�=�>��
 #r0rsalias_%s)�environ�
blockedtag)ryr�rrr�system)rr#�envr$r�r,�shdefs``   ��r-r�cmdalias.__init__.<locals>.fn^sp���!�4�9�9�d�i�i�\�D�-@�#A�B��#��f�f�^�Y��>��&�t�y�y�$��<���y�y���t�y�y�1H�!��r0s&error in definition for alias '%s': %ssLerror in definition for alias '%s': %s may only be given on the command line�/rr�s+alias '%s' resolves to unknown command '%s's-alias '%s' resolves to ambiguous command '%s')!r�r��cmdname�
definitionrr��optsr�badaliasr�r�rr��items�shadowsrr�rr��shell�alias�
_populatehelprrr�r�forcebytestr�_earlysplitoptsry�ziplistr4r�r�)r,rr�r.�cmdtabler�r�r�r4rSrr#r��	earlyoptsr��
tableentry�cmdhelpr*s`                @r-r.�cmdalias.__init__@s����#�#��	�D�H����$�����������	���	���
�������	!�$�_�_�T�Y�Y��A�N�G�$�N�N�,����:�$�D�H��-� �D�L�����=�>����J�D�M���?�?�%�%�d�+�+��O�O�A�B�'�E��D�J�
�,�D�G��D�J����r�����8��	��&�&�t���7�D�*�$�/��	���5�����D�I�I�h�&6�&6�	�&B�1�&E�F�G�H�D�M�
�!�X�X�a�[�(���s����	� �����>�q�A�J��:���"�.8�+�����G�%/�"��������D�J����r��d�g�g�w�?��C�#�#�	!� �D�L�	!��P�	��G�H��	�	��'�'��-�L��D�M�
��	��6�#�#�	#��>���	�	����D�M�#�D�O��%�%�	��@���	�	����D�M�	�sI�:I�I�: I$�A0J.�I!� I!�$
J+�.3J&�&J+�.:L�*2L�LNc��0nSHTnURSSX'4-S5nUcM[R"U5(d[S5X'4-Ul gX�U'MV URSU=(d S5UlUR(aCURRSU-5(a URS[U5-SUlS	U;Ul	URS	[R"U55n	U	b[R"U	5n	X�l
URS
[RR 5Ulg)N)�docr��category�aliass%s:%ss/non-ASCII character in alias definition '%s:%s'r�r0shg r�r?r@)rr
�
isasciistrrr0�getrr�r��owndocr�getdocr��__doc__rr��
CATEGORY_NONE�helpcategory)
r,rr�r�r�defaulthelp�cfg�k�v�docs
          r-r5�cmdalias._populatehelp�s����/�A��	�	�(�H��y�$8�$�?�A��y���&�&�q�)�)� !�F�!��I�!��
����F�0��G�G�G�[�%7�C�8��	��9�9����-�-�f�s�l�;�;��	�	�!�c�#�h�,�.�1�D�I���m����g�g�f�h�o�o�b�1�2���?��/�/�#�&�C����G�G���*�*�8�8�
��r0c��[R"[RUR5n[URU5$r")r�maplistr�
expandpathr�rr)r,r#s  r-r#�
cmdalias.args�s-�����������@������$�'�'r0c��S[5SSS.nX;a[U5eUR(d[US5(aX!$[	UR
U5$)NTF)�norepo�intents�optionalrepo�	inferrepor3)�set�AttributeErrorr0rIr�r)r,r��	adefaultss   r-�__getattr__�cmdalias.__getattr__�sV����u�!��	
�	�� � ��&�&��=�=�G�D�'�2�2��?�"��t�w�w��%�%r0c�T�UR(agSnUR(a5[R"XR5SSupV[S5XV4-n[R"URUS9eUR(a*URSURUR4-5 URSSURUR5 [US5(aUR"U/UQ70UD6$[ R""UR5"U/UQ70UD6$![Ra N�f=f![R$aK SR'UR/UR(-5nURSURU4-5 ef=f)	Nr�s"'%s' is provided by '%s' extension�r�s alias '%s' shadows command '%s'
scommandaliassalias '%s' expands to '%s'
r3rp)r0r�r�disabledcmdr-rrr��ConfigErrorr2r#r�rXr.rIrr�checksignature�SignatureErrorryr#)r,rr#r/r�r��exts       r-�__call__�cmdalias.__call__�sh���=�=��D�����)�5�5�b�,�,�G���K�H�C��B�C�s�j�P�D��#�#�D�M�M��=�=��<�<��H�H�4��	�	�4�<�<�7P�P�
�	����+��I�I��O�O�		
��4��!�!��7�7�2�-��-��-�-�
��*�*�4�7�7�3�B�F��F��F�F��%�+�+�����&�'�'�
��y�y�$�,�,��$�)�)�!;�<�����8�D�I�I�t�;L�L�M��
�s�4D.�)E�.E�E�AF')rFr4r0r�r-r.rr�rrHr�r/rDr2r3r�r�r")rArBrCrDr.r5�propertyr#r[rdrErFr0r-rr?s,��d�L
�:�(��(�&�r0rc�T�\rSrSrSrSr\RS5rSr	Sr
SrSrg	)
�lazyaliasentryi�z<like a typical command entry (func, opts, help), but is lazyc�l�XlX lX0lUR5UlXPlSUlg)NT)rr�r.�copyr9r�r4)r,rr�r.r9r�s      r-r.�lazyaliasentry.__init__�s*�����	�$�� �
�
���
�����
r0c��[URURURURUR
5$r")rrr�r.r9r��r,s r-�	_aliasdef�lazyaliasentry._aliasdefs.����G�G�T�Y�Y����������
�	
r0c�~�URnUS:XaU$US:XaUR$US:XaUR$[e)Nrrr�)rnr/rr�)r,�n�aliasdefs   r-�__getitem__�lazyaliasentry.__getitem__s?���>�>����6��O�
�!�V��=�=� �
�!�V��=�=� ��r0c#�<# �[S5H	nXv� M g7f�Nr�)�range)r,r	s  r-�__iter__�lazyaliasentry.__iter__s����q��A��'�M��s�c��grvrFrms r-�__len__�lazyaliasentry.__len__s��r0)r4r9r.r�r�rN)
rArBrCrDrFr.r�
propertycachernrsrxr{rErFr0r-rhrh�s3��F��
���
��
�
	��r0rhc���URSSS9H>up#XRU:XaMUR	SU5n[XX1U5nXQU'M@ g![[4a N:f=f)NrAT)�	ignoresub)�configitemsr.�KeyErrorrY�configsourcerh)rr9r4r.r�r�s      r-�
addaliasesr�s|�� �^�^�H��^�E���	���)�)�Z�7��8�����5�1���r�*��G�����F���.�)�	��	�s�A�A'�&A'c�<�0n0n[R"U[RU5nU(a�USUSSp[R"U[RURSS55upgUSn[USU5nURSU5nU(a<[R "["R$[R&"U55U-n[)US5n	OSn/n	Sn
[RH.nU
"US5nU	R+USUSX,US45 M0 [R"XUSS	9n[RHnU
"US5n
X=X-'X=	M XU=(a WS=(d SXU4$![Ra0n[
R"S[R"U55eSnAff=f![Ra0n[
R"U[R"U55eSnAff=f)
Nrrr��strictsdefaultsc�&�URSS5$)N�-�_)r)�opt_names r-�global_opt_to_fancy_opt�'_parse.<locals>.global_opt_to_fancy_optFs������d�+�+r0r�T)�gnu)rr
r�r�r�rr�rr6rr�r�r�rrrrPrrQr�listr�)rr#�options�
cmdoptionsr�r�r�r��defaults�cr��or�rqs              r-�_parser�+s����G��J�F��"�"�4��)<�)<�g�F�����G�T�!�"�X�T� ����������u�i�!@�
����a�j����q��4�(���9�9�[�#�.���� � ����(�2E�2E�h�2O�P���
�
��q��N������,��
 �
 ��&�q��t�,��
	
���!�A�$��!��g�m�Q�q�T�2�3�
!�E��"�"�4�J�D�A��
�
 �
 ��#�A�a�D�)���]��
��M�!�

�!��q��)�T�4�*�E�E��_���F�� � ��z�'>�'>�t�'D�E�E��F��L���E�� � ��j�&=�&=�d�&C�D�D��E�s/�&F�6G�G�$+G�G�H�++H�Hc��/nUHmnSURSS55upEURSS5updU(aU(d[eURXdUS5 URXdU45 Mo U$![[4a7 [
R"[S5[R"U5-5ef=f)z0parse the --config options from the command linec3�@# �UHoR5v� M g7fr")�strip)rt�cfgelems  r-rv�_parseconfig.<locals>.<genexpr>is���M�:L�w�=�=�?�?�:L�s��=r�.r�s?malformed --config option: %r (use --config section.name=value))
�splitr�r�r�r�rr�rrr�)rr�configsrJr��value�sections       r-r�r�cs����G���	�M�#�)�)�D�!�:L�M�K�D� �J�J�t�Q�/�M�G��$� � ��L�L���{�;��N�N�G�5�1�2��"�N���J�'�	��"�"��9���"�"�3�'�	(��
�	�s
�A)A8�8AB?c�d�/n[R"5nUHnURU5 M UR5H[nURU5HCn	U	Sn
U	SnURX�5nURX�X�5 URX�X�45 ME M] U$![Ra:n[R
"[
S5UR-URS9eSnAf[a5 SnSU;a[
S5n[R
"[
S5U-US9ef=f)	z�parse the --config-file options from the command line

A list of tuples containing (section, name, value, source) is returned,
in the order they were read.
s#invalid --config-file content at %sr^Ns--cwds/this file is resolved before --cwd is processeds#missing file "%s" for --config-filerr)�	configmodr�readrr`r�r�locationr��FileNotFoundError�sectionsr1r�r�r�)
rr��config_filesr�rJ�filerSr�r��itemr�r��srcs
             r-r�r�{s%��8:�G�
�
�
�
�C���	��H�H�T�N��"�<�<�>���I�I�g�&�D���7�D���G�E��*�*�W�+�C��L�L���3��N�N�G�5�6�7�
'�"��N��/� � �	��"�"��8�9�A�J�J�F��Y�Y��
��!�	��D��7�"��K�L���"�"��8�9�D�@�t��
�	�s�B$�$D/�85C-�-AD/c	��0n[R"U[RUURS5(+SSS/0S9 U$)NsstrictflagsT�
repository�repo)r��early�
optaliases)rr
r�r�)rr#r�s   r-r�r��sG���G�
������������(�(��!�G�9�-�
��Nr0c�<�Sn/SQn[R"XUSSS9$)zCSplit args into a list of possible early options and remainder argssR:)scwd=srepository=srepo=sconfig=sconfig-file=T)r��keepsep)r�earlygetopt)r#�shortoptions�longoptionss   r-r7r7�s,���L��K�� � ��K�T�4��r0c	�H�[R"UUSU-SSRU5UUS9 [XEX&5n	[R"UUSU-SSRU5U	UUS9 U	$![a. [R"UUSU-SSRU5UUS9 ef=f)	Nspre-%sTrp)r#�patsr/spost-%sF)r#�resultr�r/sfail-%s)rry�_runcommand�	Exception)
�luir$r��fullargsrr��d�cmdpatsr�rs
          r-�
runcommandr��s����I�I����C���
�Y�Y�x�
 �
�
����"�s�.���	�	����������8�$����		
�,�J�����	�	����������8�$���	
�	��s�9A)�)8B!c�z�[R"5nSnUcUnOUn[R"U5 [R"U5=(d SnU(dUnOaUR5n[R"5(a7[R"U5Hup�n
U	S:XdeUR!X�S9 M U(a�["R$"Xq5nUR&nUR5n[R"5(a7[R"U5Hup�n
U	S:XdeUR!X�S9 M U(a[R"U5 Xg4$![aEn[R"[S5[R"UR5-5eSnAff=f)zhReturn (path, local ui object) for the given target path.

Takes paths in [cwd]/.hg/hgrc into account."
s+error getting current working directory: %sNr0spath)�root)r
�getcwdrKrr�rrOrP�os�chdirr�findreporjr�
use_repo_hgrc�repo_components�
readconfigr�get_clone_path_obj�rawloc)r�rpath�wd�cwdrS�oldcwd�pathr��__�c_type�rc_path�path_objs            r-�	_getlocalr��sp��

��o�o����F�	�z�
����
��������B��&�3�D�����g�g�i�����!�!�'-�'=�'=�d�'C�#��G���(�(�(����w��2�(D�
��-�-�c�9�������g�g�i�����!�!�'-�'=�'=�d�'C�#��G���(�(�(����w��2�(D��
������9���Q�
��k�k�
�<�=��!�!�!�*�*�-�
.�
�	
��
�s�E+�+
F:�5AF5�5F:c�^^^^^	^
^�0m[R"T[RT5mT(dg[R
nTSmTR
SS5n[R"TX45upVUSmUSm
T(a3[T
S5(a![T5unmUU
U4Sjm	UUU	UUU4Sj$gg![Ra gf=f![R[R4a gf=f)z=Return the function to run the shell alias, if it is requiredNrr�r�r3c�>�T"T/TSSQ76$�NrrF)r#rrs���r-r�"_checkshellalias.<locals>.<lambda>6s���B�r�%�D���H�%r0c�0>�[TSTTSSTTT/05	$r�)r�)r#r�r�r�r�rs������r-rr�7s#���z���s�D��!�H�b�'�1�b�"�
r0)rr
r�r�r�r�r�rr�rr�r�rIr7)r�rr#r9�strictr�r��
_earlyoptsr�r�rr�s```     @@@@r-�_checkshellaliasr�s�����G���"�"�4��)<�)<�g�F�����~�~�H�
�q�'�C�����u�i�0�� ����h�?����!�*�C�	�q��B�
�w�r�7�#�#�*�4�0��
�D�%��
�
�	
�	$�s��%�������
�"�"�E�$8�$8�9����s#�&B?�+C�?C�C�$D�?Dc�^^^ ^!^"^#�URmURm#URSnU(a[R"U5 URSn[T#U5up4T#U1nUR(a%URURR5 URS(d(URS(dURS(aTSHNn[R"[URU55nUHnURSXgSU-5 M MP URS	(aUHnURS
SSS
5 M O=URS	SLa+URS
S5(aURS
SSS5 URS
S5n	[R"XIS9n
[R "U5 UR"T#l[%U[&R(5 [+UT#T5nU(a/UHn[R,"U5 M U"5sSSS5 $UR/SS5nU(aU[0lTn
[5UT5unmmnnX�l(USURS:wa[6RL"[OS55eUSURS:wa[6RL"[OS55eUSURS:wa[6RL"[OS55eUSURS:wa[6RL"[OS55eUSURS:wa[6RL"[OS55eUS(aUS[0lUS(aUS[0l)US (a#S!m T "5m!U U!U#4S"jnT#RUU5 US	(aU
RW5 US(dUS(d
US(a`SHZnX�URU:XaM[R"[X�55nUHnURSXgSU-5 M M\ US#(aUHnURSS#S$S%5 M US&(aUHnURSS'S(S)5 M URYS*S5(aUH
nS+Ul-M US,nUH4nU(aURSS,US-5 [\R^"U5 M6 [`Rb"US.5(aT#ReS/U-5 O"US.S0:waUHnURg5 M UHn[R,"U5 M US1(a[&Rh"T#5sSSS5 $US2(a [&Rj"T#X�SLS39sSSS5 $U(d [&Rj"T#S45sSSS5 $SnTSSnTceTRl(GdYU(dU(dURnU(amT#RnURl7T#RpURl8T#RrURl9T#RtURl:O�[vRx"T#UURzTR|S59nUR5(d"[6RL"[OS65U-5eURRS7S8UR�S95 U(a&URm#US=(aUR�5nTR�S:U5 O!U(aT#R�[OS>55 [�U
5nT#R�S?S@U5 [R�"U5m"UUU"U#4SAjn[�UUX�T#UUUU5	U(a UUR:waUR�5 sSSS5 $![6R8GanUR:n[=U[>R@5(a�URB(a�SREURB5(a�URBRGS5n[&RHVs1sHnUSiM
 Os snfnnUVs/sHnUREU5(dMUPM Os snfnn[KU5S:wa[6RL"[OS55eeSnAff=f![6R�a e[6R�a� U(aeTR�(d�TR�(a�T(a�U(d�[R�"[�R�T5nUS:nU(aOUR�U5[KU5:Xa1S;U/U
-UlUURS'[�U5ssSSS5 $U(d5[6RL"[OS<5[0R�"5-5eeGNf=f!U(a"UUR:waUR�5 fff=f!,(df   g=f)BNscwdr��verbose�debug�quiet)r�r�r�r�r�sprofiles	profilingsenabledstrues	--profileFsfalses--no-profile)�enabledsfallbackencodingrzlatin-1rs&option --config may not be abbreviatedr�r�s+option --config-file may not be abbreviateds#option --cwd may not be abbreviatedsroption -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repor�s(option --debugger may not be abbreviatedsencodingsencodingmodestimec��[R"5nUSS:Xa&USUSUSUS[R"54nU$)Nr�grrr�r�)r��timesrr�)�ts r-�	get_times�_dispatch.<locals>.get_times�sC���H�H�J���Q�4�3�;��1��q��t�Q�q�T�1�Q�4�����>�A��r0c
�>�T"5nTR[S5USTS-
USTS-
USTS-
USTS-
USTS-
4-5 g)Ns4time: real %.3f secs (user %.3f+%.3f sys %.3f+%.3f)
r�rr�rr�)r�r)r�r��srs ���r-�
print_time�_dispatch.<locals>.print_time�st����K������N�O��!��q��t���!��q��t���!��q��t���!��q��t���!��q��t����	r0r�r�r�snoninteractivesinteractivesoffs-ysinsecureTscolors--colorspagersinternal-always-sautosversionr�)r�s	shortlist)r��
presetupfuncsrUsrepository '%s' is not localsbundlesmainreporootr�rs--repositorys+no repository found in '%s' (.hg not found)shiddenswarning: --repository ignored
scommands%s
c�D>�[R"T5"T/TQ70TD6$r")rra)r#r;�	strcmdoptrs����r-r�_dispatch.<locals>.<lambda>9s���D�'�'��-�b�E�4�E�9�Er0)Sr#rr)r�r�r�r$�addrr��boolr�r�r�profiler�loadall�	__class__r�r
r�r��
populateuirr
�fallbackencodingr�rr��__context__r�r�r��optr��encoder�r�r�rr+�encodingmode�atexit�startrC�insecureconnectionsr	�setupr�	parseboolr��disablepager�version_r�rTr%r&r'r(r�
repositoryr*rU�localr��RequirementError�	RepoErrorrVrWrPrr��countr�r��
unfiltered�insertr�r{rXr�r�rm)$r^r�r�r�r��uisr�r��ui_r��profiler�shellaliasfn�fallbackr�r�r�r�rS�causer��all_long�possibler��coloroptr$r��repos�guessr�r�r#r;r�r�r�rs$                              @@@@@@r-r�r�<s�����8�8�D�	���B��
�
�6�
"�C�
�
����
����]�+�E��"�e�$�I�D�
�s�)�C�
�x�x����������	����$����H�%����H�%�3�C��"�"�4��(8�(8��(=�#>�?�C����
�
�e�S�u�s�{�;��4�
���
�#��C��M�M�,�
�G�\�J��	�	�	�*�	%��	.��>�>�,�
�3�3�

�M�M�,�
�H�o�N��n�n�\�:�6�G�	�	�	�3�	0�H�	���3���}�}���	�3����'�(��R��6������%�%�c�*���>�)
1�	0�.�:�:�e�%8�9���(0�H�%���	�39�#�t�3D�0�C��t�W�j�"!$���9���!1�!1�)�!<�<��"�"�1�%N�#O�P�P��>�"�c�&6�&6�~�&F�F��"�"��@�A��
��6�?�c�.�.�v�6�6��"�"�1�%K�#L�M�M��=�!�S�%5�%5�m�%D�D��"�"��O���
��;��3�#3�#3�K�#@�@��"�"��=�>��
�
�;�� '�� 4�H���?�#�$+�O�$<�H�!��7��
���A�
�
�I�I�j�!��:���N�N���:��'�(�"3�w�x�7H�7���<�3�#3�#3�C�#8�8���&�&�t�G�L�'9�:���C��M�M�%��5�3�;�?��	8��<� ����
�
�e�\�5�.�I���$�%����
�
�e�^�V�U�C���>�>�+�u�-�-���*.��'��
�8�$���C���
�
�e�X�x��D��K�K����
����� 1�2�2��H�H�(�3�.�/�
�X�
�'�
)���� � �"���C��!�!�#�&���:���$�$�R�(�]
1�	0�^�7���>�>�"�c�d�?�C�a
1�	0�b��>�>�"�l�3�e
1�	0�h���q�'�������{�{�{����x�x��� �f�f�����!�w�w�����!�w�w�����!�w�w�����$��=�=��!�&)�&7�&7� $���	�D� �:�:�<�<�#�.�.��=�>��E����G�G�%�%�!�?�D�I�I�w��4��W�W���9�%��?�?�,�D��K�K��4� �
��G�G�A�8�9�:��(�#��
���z�7�C�(��&�&�z�2�	�E��	���T�3�"�g�q�'�:�������(��
�
��u
1�	0��<�!�!�
	��M�M�E��%��!3�!3�4�4��9�9��!4�!4�U�Y�Y�!?�!?��)�)�*�*�9�5�C�.6�.A�.A�B�.A���!��.A��B�H�B�+3�I�8�a�q�|�|�C�7H��8��I�H�I��8�}��)�#�.�.��G�H���
��
	��f�-�-����������,�,��>�>�d�4�$,�$4�$4�W�5E�5E�t�$L�E�$)�!�H�E�$����U�);�s�5�z�)I�,;�U�+C�h�+N���BG�� 0� 0�� ?�'0��~� 5�}
1�	0�~ $�"'�"2�"2� !�%=�!"�#+�/�/�"3�	!4�#���#-���L�����(��
�
��)�t��s
1�	0�s��A;j1�&j1�3a�Mj1� j1�j1�+B,j1�B
e�"Bj1�j�'j1�e�B	e�!c1�0e�<d!�d!� 7e�e�j1�Cj�4j1�?=j�<j1�?j�j1�+j.�.j1�1
j?c���[R"SU-5 U"5sSSS5 $!,(df   g=f![Ra! [R"U[S55ef=f)z8Run a command function, possibly with profiling enabled.zRunning %s commandNsinvalid arguments)rrXrrbr�r)rr�r��cmdfuncs    r-r�r�CsW��?�
�[�[�-��3�
4��9�5�
4�
4�����?�� � ��a�(<�&=�>�>�?�s�=�,�	=�
:�=�=�5A2c���[R"SS9nSUSS4nURSS5Gc$[R"5GH
up4[R
"[
USS55n[R"U5n[
US[S	55nUR5(dUS
Xv4n O�[R"U5(aM�UR5Vs/sHn[R"US5PM n	nX;aM�U	Vs/sHo�U:dM
UPM n
n[U
=(d U	5nUSbX�S:dGMX;Xv4nGM
 USb�Uup5pv[U[[45(d6S
R!UVs/sHn[R
"U5PM sn5nU=(d [S5n
[S5X=XS[R
"U54-nO1URSS5nUc[S5n[S5U-S-n["R$"[&R(5R+SS5nSnU[S5U-[S5[R("5--[S5SR![-[R"55Vs/sHnU"U5PM
 sn5---
nU$s snfs snfs snfs snf)z:Produce a warning message for the current active exceptionr�)rqNr0r�ssupportcontact�
testedwith�buglinksthe extension author.sunknownrrr�s
(version N/A)s�** Unknown exception encountered with possibly-broken third-party extension "%s" %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
** �
c�`�USn[R"US5nU(aUSU--
nU$)Nrrrp)r�
moduleversion)r
rc�vers   r-�ext_with_ver�'_exceptionwarning.<locals>.ext_with_ver�s5����d���&�&�q��t�,����4�#�:��C��
r0s
** Python %s
s*** Mercurial Distributed SCM (version %s)
s** Extensions loaded: %s
s, )r�versiontuplerrrr6r�rrr��ismoduleinternalr��maxr��bytes�strryr�sysbytesr5�versionr�sorted)r�ct�worstr��modrr!�reportr��tested�lower�nearestr��extver�warning�
bugtracker�
sysversionrr
s                   r-�_exceptionwarningr.Ls���
�	�	�Q�	�B��"�c�3��E�	�y�y��)�*�2�#�.�.�0�I�D�$�0�0���\�3�/��J�!�.�.�s�3�G��S�)�Q�/G�-H�I�F��#�#�%�%��j�&�9����*�*�3�/�/��7A�7G�7G�7I�J�7I�!�d�'�'��1�-�7I�F�J��|�� &�1��1�b�&�Q��E�1��%�/�6�*�G��Q�x��7�1�X�#5��v�6��11�2
�Q�x��,1�)��&��*�u�c�l�3�3����5?�@�Z���(�(��+�Z�@��J��/�A�.�/���
A�
��:�Z�-D�-D�V�-L�M�
N���Y�Y�u�&7�8�
����G�H�J�
�2�
��	
�
�
�	��"�"�3�;�;�/�7�7��s�C�J���	
��	�
�	*��
;�<�t�|�|�~�M�	O�
�+�,��j�j�*0��1F�1F�1H�*I�J�*I�Q��a��*I�J��
�	
�	�G��N��kK��2��A��JKs�"!K�	K�K� K!�6K&c	��[U5nURSSU[R"[R
"555 UR
U5 g)z�Produce a warning message for broken commands

Called when handling an exception; the exception is reraised if
this function returns False, ignored otherwise.
scommandexceptions%s
%s
F)r.rXrr r8�
format_excr�)rr+s  r-r�r��sK�� ��#�G��F�F�������)�.�.�0�1�	��G�G�G��r0)r?r�)r�zlist[bytes]r�zIterable[bytes]r?z'list[tuple[bytes, bytes, bytes, bytes]]r")G�
__future__rrLr�rfr�r�rr�r5r8�typingr�i18nr�hgdemandimportr�rr	r
rr�rr
rrrrrrrrrrrr�r�
configurationr�utilsrrrrrTr_rWr[r{rZr}r�r�rrrrhr�r�r�r�r�r7r�r�r�r�r�r.r�rFr0r-�<module>r8s��#��
�	�	�
�	�
�
����"������*"���0�0�f�:
� 3
�l�$;��P�fL-�^9�x�.7�,t�t�n!�!�H �"5F�p�0'��'�,;�'�,�'�T
�
� $�N/�d
�BD�N?�S�lr0

Youez - 2016 - github.com/yon3zu
LinuXploit