403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.217.15
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__/hook.cpython-313.pyc
�

6�h�/����SSKJr SSKrSSKrSSKrSSKrSSKJr SSKJ	r	J
r
JrJrJ
r
Jr SSKJrJrJr SrSr\"5rS	rSSjrS
qSrS
rSSjr\R:S5rSSjrg)�)�annotationsN�)�_)�demandimport�encoding�error�
extensions�pycompat�util)�procutil�resourceutil�
stringutilc
���[U5(a UnURS-UR-nGO�[R"U5nURS5nUS:Xa8[R"[S5U[R"U54-5eUSUn	[Rn
[R"5(aQ[RR!U	5up�U(a)U(a"[RSSU/-[lUn	["R$"5 ['[R"U	55nSSS5 U
[lUR!S5SSHn[5WU5nM [W5(d8[R"[S
5U[R"U54-5eUR9[S5U[R"U54-5 [:R<"5nU"SXUS.[R>"U5D6n[:R<"5U-
nURISSU[R"U5U5 U(aFU(a"[RJ"[S5U-5eUR1[S5U-5 US4$![([*4GaK [R,"5n
['S[R"U	5-5nGN�![([*4a� [R,"5nUR.(aUR1[S55 UR3U
5 UR.(aUR1[S55 UR3U5 UR.(d[S5nOSn[S	5nU[R"U5[R"U	54-n[R"UUS
9ef=ff=f!,(df   GN�=f![6a9 [R"[S5U[R"U54-5ef=f![@Ga
n[CU[RD5(a-UR1[S5UURFS4-5 O3UR1[S5U[R"U54-5 U(aeUR.(dUR1[S55 UR35 SnA[:R<"5U-
nURISSU[R"U5U5 gSnAff=f![:R<"5U-
nURISSU[R"U5U5 f=f)a�call python hook. hook is callable object, looked up as
name in python module. if callable returns "true", hook
fails, else passes. if hook raises exception, treated as
hook failure. exception propagates if throw is "true".

reason for "true" meaning "hook failed" is so that
unmodified commands (e.g. mercurial.commands.update) can
be run as hooks without wrappers to convert return values.�.���s(%s hook is invalid: "%s" not in a moduleNzhgext_%ss,exception from first failed import attempt:
s-exception from second failed import attempt:
s$run with --traceback for stack traces)%s hook is invalid: import of "%s" failed��hintrs'%s hook is invalid: "%s" is not defineds(%s hook is invalid: "%s" is not callablescalling hook %s: %s
)�ui�repo�hooktypeserror: %s hook failed: %s
rs'error: %s hook raised an exception: %s
s'(run with --traceback for stack trace)
s
pythonhooks,pythonhook-%s: %s finished in %0.2f seconds
)TTs%s hook failedswarning: %s hook failed
F�)&�callable�
__module__�__name__r
�sysstr�rfindr�
HookLoadErrorrr�forcebytestr�sys�pathr
�
mainfrozen�os�splitr�deactivated�
__import__�ImportError�SyntaxError�exc_info�
tracebackflag�warn�	traceback�getattr�AttributeError�noter�timer�	strkwargs�	Exception�
isinstance�Abort�args�log�	HookAbort)rr�htype�hname�funcnamer4�throw�obj�d�modname�oldpaths�modpath�modfile�e1�e2�
tracebackhint�msg�p�	starttime�r�exc�durations                      �0/usr/lib/python3/dist-packages/mercurial/hook.py�
pythonhookrKs����������>�>�C�'�#�,�,�6���?�?�8�,���N�N�3�����7��%�%��=�>��*�1�1�(�;�<�=��
��2�A�,���8�8���"�"�$�$�!�w�w�}�}�W�5��G��7��8�8�A�;�'��2���!��
�
%�
%�
'�%
G� �����!9�:��(�N���	��^�^�C�(���,���c�1�o��-���}�}��%�%��=�>��*�1�1�(�;�<�=��
�
�G�G�	�
"�#�u�j�.E�.E�h�.O�&P�P���
�
��I�
��M�2�5�M�H�4F�4F�t�4L�M�� �:�:�<�)�+��
����<���#�#�H�-��	
�	���/�/�!�$5�"6��">�?�?�
����.�/�%�7�8��e�8�O��k ��-�#
G��\�\�^��!G�$�Z�(�/�/�'�2J�%J�K�C��#�[�1�G�����B��'�'�����!.����L�L��$��'�'�����!.����L�L��$��+�+�()�C�)�
�)-�
��H�I�C��"�/�/��6�"�/�/��8���C� �-�-�c�
�F�F�=G��#
G��(�
'��V�	��%�%��<�=��*�1�1�(�;�<�=��
�	��$�
��c�5�;�;�'�'��G�G�A�4�5�������8L�L�M��G�G��=�>��*�1�1�#�6�7�8�
�������G�G�A�A�B�C�
������:�:�<�)�+��
����<���#�#�H�-��	
��!
���:�:�<�)�+��
����<���#�#�H�-��	
�sp�+P)�-K
� 'P;�R�
&P&�1"L�P)�DP"�"P&�&P)�)
P8�;AQ>�V�CV�V�V�V�AWc��[R"5n0nUbVUR5n	URR	U	5 U	(a$U	R5(aURUS'X(S'X8S'URSSU-5S:XaUR5n
OURSSU-5n
U
(aSUS'OS	US'UR5Hjup�US
:XaM
[U5(aU"5n[U[[45(a[R "U5nX�SUR#5-'Ml URSSU-S
5(a:Un
[$R&"XH5nXM:waUR)[+S5U-5 UR)[+S5X44-5 U(a
URnO[,R."5nUR1XHUSU4-S9nUb!UR35cUR55 Ub!UR75cUR95 [R"5U-
nUR;SSUUU5 U(a`[$R<"U5nU(a$[>R@"[+S5UU4-5eURC[+S5UU4-5 U$)Ns
HG_PENDINGsHG_HOOKTYPEsHG_HOOKNAME�hookss%s:run-with-plainsauto�1sHGPLAIN�schangessHG_stonative.%sFsconverting hook "%s" to native
srunning hook %s: %s
s
exthook-%s)�environ�cwd�
blockedtagsexthooks)exthook-%s: %s finished in %0.2f seconds
s
%s hook %sswarning: %s hook %s
)"rr/�currenttransaction�dirstate�write�writepending�root�config�plain�
configbool�itemsrr2�dict�listr�pprint�upperr�
shelltonativer.rr�getcwd�system�currentwlock�invalidatedirstate�currentlock�
invalidater5�explainexitrr6r*)rrr7�name�cmdr4r:rF�env�trrY�k�v�oldcmdrQrGrI�descs                  rJ�_exthookrp�sm���
�
��I�
�C���
�
$�
$�
&���
�
���B��
�"�/�/�#�#�!%���C�
��������	�y�y��/�$�6�7�7�B����
���
�
�h�(<�t�(C�D�����J����J���
�
����
�
�?���A�;�;���A��a�$���&�&��!�!�!�$�A�"#�F�Q�W�W�Y����
�}�}�X�~��4�e�<�<����$�$�S�.���=��G�G�A�9�:�T�A�B��G�G�A�&�'�4�+�5�6���i�i���o�o���
�	�	�#��
���8O�	�P�A���D�-�-�/�7����!���D�,�,�.�6������z�z�|�i�'�H��F�F��5�����	��#�#�A�&����/�/�!�M�"2�d�D�\�"A�B�B�
����*�+�t�T�l�:�;��HrOc
�8�[U5n[USS9nUR5H6up4URUSSU[45nXE:wdM&Uupgp�XgU[4X'M8 [	UR55V
VVV
s/sH	up�p�X�4PM sn
nnn
$s sn
nnn
f)z8return a list of (hook-id, cmd) pairs sorted by priorityT)�
_untrustedr)�
_hookitemsr[�get�_fromuntrusted�sorted�values)r�hooks�untrustedhooksrh�value�trustedvalue�lp�lo�lk�lvrE�orlrms              rJ�	_allhooksr��s����r�N�E� ��t�4�N�%�+�+�-����y�y���B��n�'E�F��� �+��R�R��2�~�6�E�K�	.�&,�E�L�L�N�%;�<�%;�z�q�Q�Q�F�%;�<�<��<s�>B
Fc��0nURSUS9Hbup4URS5(dURS5(dSU;aM9URSSU-S5nU*4[U54X44X#'Md U$)z)return all hooks items ready to be sortedrM)�	untrusteds	priority.s	tonative.�:spriority.%sr)�configitems�
startswith�	configint�len)rrrrxrhri�prioritys      rJrsrs�s���E��^�^�H�
�^�C�	���O�O�L�)�)����|�,�,��t�|���<�<��.�4�*?��C��!�	�|�c�%�j�]�D�>���D��LrOc��Uqg)N)�	_redirect)�states rJ�redirectr�s���IrOc��UR(dg[U5H(up#URS5SU:XdMU(dM( g g)z/return True if a hook is configured for 'htype'F�.rT)�	callhooksr�r#)rr7r8ris    rJ�hashookr�s>��
�<�<����m�
���;�;�t��Q��5�(�S�S��$�rOc��UR(dg/n[U5H:upgURS5SU:XdMU(dM(URXg45 M< [	XX%4SU0UD6nSn	UHupgX�S=(d U	n	M U	$)NFr�rr:)r�r�r#�append�runhooks)
rrr7r:r4rxr8ri�resrGs
          rJ�hookr�s���
�<�<���E���m�
���;�;�t��Q��5�(�S�S��L�L�%��&�$��2�U�
?��
?�$�
?�C�
�A��
���J�q�M��Q����HrOc#��# �Sn[(a�[RR5n[RR5nUS:�aPUS:�aJ[RR5 [R"U5n[R"X!5 Sv� [RR5 [(aTUS:�aM[RR5 [R"UW5 [R""U5 ggg![[4a N�f=f![a]nUR[R[R[R4;a[R "U5eSnAN�SnAff=f![a^nUR[R[R[R4;a[R "U5eSnAGNSnAff=f![RR5 Oj![a]nUR[R[R[R4;a[R "U5eSnAOSnAff=f[(a�US:�a�[RR5 Oj![a]nUR[R[R[R4;a[R "U5eSnAOSnAff=f[R"UW5 [R""U5 fff=f7f)z(Redirects stdout to stderr, if possible.rrN)r�r�stdout�fileno�stderr�flushr"�dup�dup2�OSErrorr-�errno�EPIPE�EIO�EBADFr�
StdioError�close)�	oldstdout�stdoutno�stderrno�errs    rJ�redirect_stdior�!sb����I�! ��9�

�#�?�?�1�1�3��#�?�?�1�1�3���q�=�X��]��O�O�)�)�+� "���x� 0�I��G�G�H�/�
	�	,��O�O�!�!�#�
�9��a��
0����%�%�'�
�G�G�I�x�(��H�H�Y��(�9��!�^�,�
��
���	,��y�y����e�i�i���� E�E��&�&�s�+�+�F��	,���
0��9�9�U�[�[�%�)�)�U�[�[�$I�I��*�*�3�/�/�J��
0��	,��O�O�!�!�#���	,��y�y����e�i�i���� E�E��&�&�s�+�+�F��	,���9��a��
0����%�%�'���
0��9�9�U�[�[�%�)�)�U�[�[�$I�I��*�*�3�/�/�J��
0��
�G�G�I�x�(��H�H�Y��(�9�s��M+�H�BD'�$H�)D=�M+�F'�70M+�'D:�7H�9D:�:H�=
F$�AF�M+�F$�$M+�'
H�1AH
�M+�
H�M+�M(�H3�2M(�3
J�=AJ�M(�J�M(�/K�
M(�
L5�AL0�+M(�0L5�53M(�(M+c��[R"U5n0n[5 UGH�upxU[LaTU(a*[R
"[
S5U-[
S5S9eUR[
S5U-5 Sn	Sn
GO0[U5(a[XX'X�U5up�GOURS5(a�URS5S	:�a�US
SRSS5up�[R"U5nU(a*[R R#UR$U5nS[R&"U5-n[(R*"X�5n
[1U
[R&"U55nOUS
SR35n[XX'X�U5up�O[5XX'X�U5n	Sn
X�4Xg'GM� SSS5 U$![,a UR/[
S5U-5 ef=f!,(df   U$=f)
Nsuntrusted hook %s not executedssee 'hg help config.trusted'rs(warning: untrusted hook %s not executed
rFspython:r���z	hghook.%ssloading %s hook failed:
)r
�byteskwargsr�rurr6rr*rrKr��count�rsplitr�
expandpathr"r �joinrWrr	�loadpathr1rUr,�striprp)rrr7rxr:r4r�r8rirG�raisedr �mod_name�mod�hookfns               rJr�r�Js�������%�D�
�C�	�	��J�E��n�$���/�/��;�<�u�D��>�?�������F�G�%�O�P������#���&�r��s�%�P�	��6����
�+�+��9�9�T�?�a�'� #�A�B����t�Q� 7�I�D��?�?�4�0�D��!�w�w�|�|�D�I�I�t�<���#.�����1G�#G��(�1�1�$�A��%�S�(�/�/�#�*>�?�F� ���W�]�]�_�F�&��e�F�%��	��6��R�u�S��F������C�J�E �
�J�J��%������#?�!@�5�!H�I����-
�	�J�J�s%�DG9�5/G
�$AG9�
)G6�6G9�9
H)F) �
__future__r�
contextlibr�r"r�i18nr�rrrr	r
r�utilsrr
rrKrp�objectrur�rsr�r�r�r��contextmanagerr�r�rrOrJ�<module>r�s���#���	�
������u�pA
�J���
=� 
� 
�	��
�

� ���% ��% �P)rO

Youez - 2016 - github.com/yon3zu
LinuXploit