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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

�^k�����SSKJr SSKrSSKJrJrJrJr SSKJ	r	 SSK
JrJrJ
r
JrJrJrJr SSK
JrJrJrJrJr S	rSS
jrSSjrSSjrSSS
jjrg)�)�annotationsN)�Any�
Collection�Dict�Optional�)�_)�cmdutil�error�	formatter�pycompat�requirements�ui�util�)�ConfigLevelT�EDIT_LEVELS�LEVEL_SHARED�NO_REPO_EDIT_LEVELS�rcutil�editc�^�TR[5(d[U4Sj[55(aK[R
"T/[Q76 [HnTRU5(dMUs $ [S$g)z�return the level we should edit, if any.

Parse the command option to detect when an edit is requested, and if so the
configuration level we should edit.
c3�F># �UHnTRU5v� M g7f�N)�get)�.0�o�optss  ��A/usr/lib/python3/dist-packages/mercurial/configuration/command.py�	<genexpr>�"find_edit_level.<locals>.<genexpr>*s����!C�{�!�$�(�(�1�+�+�{�s�!rN)r�	EDIT_FLAG�anyrr
�check_at_most_one_arg)r�repor�levels  ` r�find_edit_levelr' sb����x�x�	���c�!C�{�!C�C�C��%�%�d�9�[�9� �E��x�x������!��1�~���c��UcBU[;a8S[R"U5-n[R"[U55eU[:XasUR5(d![S5n[R"U5e[RUR;a[R"[S55eSnUbURn[R"U5n0nUH/upxn	US:waMURU/5RU	5 M1 X&;aSU-n[R"U5eXbn
U
H)n[ R"R%U5(dM) OT [&R(R+U5nU
SnUb+[,R."U[,R0"U55 UR35n
UR5SX�4-[R[S	5S
S9 g)z8let the user edit configuration file for the given levelNs#can't use --%s outside a repositorys,repository is not shared; can't use --sharedsNshare safe feature not enabled; unable to edit shared source repository config�pathzunknown config level: %srs%s "%s"sedit failedsconfig_edit)�onerr�	errprefix�
blockedtag)rr
�bytestrr�
InputErrorr	r�sharedr�SHARESAFE_REQUIREMENT�rootr�all_rc_components�
setdefault�append�ProgrammingError�os�path�exists�uimod�samplehgrcsrr�	writefile�tonativeeol�	geteditor�system)rr%r&�msg�	repo_path�all_rcs�rc_by_level�lvl�rc_type�values�paths�f�
samplehgrc�editors              r�edit_configrK3s����|��%8�8�4�x�7G�7G��7N�N�����q��v�&�&�����{�{�}�}��C�D�C��"�"�3�'�'��-�-�T�5F�5F�F��"�"��F���
��I����I�I�	��&�&�y�1�G��K� '���f��g������s�B�'�.�.�v�6�!(�

��(�5�0���$�$�S�)�)���E�
��
�7�7�>�>�!������&�&�*�*�5�1�
��!�H���!��N�N�1�d�.�.�z�:�;�
�\�\�^�F��I�I���{�"�����N�#�!�	�r(c��[R"5Heup#nUS:XaURSU-5 M"US:XaURSUSUS4-5 MFUS:XaMN[R"SU-5e g	)
z�show the component used to build the config

XXX this skip over various source and ignore the repository config, so it
XXX is probably useless old code.
r*sread config from: %s
sresources!read config from: resource:%s.%s
rrsitemssunknown rctype: %sN)r�rccomponents�debugrr6)rr%�_lvl�trHs     r�show_componentrQis{���)�)�+�
�����<��H�H�.��2�3�
�+�
��H�H�:�a��d�A�a�D�\�I�J�
�(�]���(�(�)>��)B�C�C�,r(c�H�URSU5n/=p�Sn
U(a6UVs/sH
nSU;dMUPM nnUVs/sH
nSU;dMUPM n	nSn
[U	5S:H=(a U(+n[U5n[U	5n	Sn
URXES9nUGHiunnnUR	UUU5n[
R"U5nURUU5nUR5(aU=(d SnURSS	5nUS-U-nU
(a
X�;dUU	;dM�UR5 URUS
SU5 U(a#URUS9 URS
SU5 OURSSUU5 [R"U5(aURUS9 OI[U[ 5(a4[#SU55(aURUR%US
S9S9 Sn
GMl UR'5 U
$s snfs snf)a#Display config value to the user

The display is done using a dedicated `formatter` object.


:value_filters:
    if non-empty filter the display value according to these filters. If
    the filter does not match any value, the function return False. True
    otherwise.

:formatter_option:
    options passed to the formatter

:untrusted:
    When set, use untrusted value instead of ignoring them

:all_known:
    Display all known config item, not just the one with an explicit value.

:show_source:
    Show where each value has been defined.
sconfigF�.Tr)�	untrusted�	all_knownsnone�
s\nssources%s: )�namesvalues%s
s
name values%s=%s
)�defaultvaluec3�N# �UHn[R"U5v� M g7fr)r�isprintable)r�es  rr �show_config.<locals>.<genexpr>�s!���4
�.:��I�!�!�!�$�$�l�s�#%)r�len�set�
walkconfig�configsourcer
r.�
configdefault�isplain�replace�	startitem�	condwrite�data�writerZ�
isinstance�list�all�
formatlist�end)rr%�
value_filters�formatter_optionsrTrU�show_source�fm�selsections�
selentries�filtered�v�	uniquesel�matched�entries�sectionrW�value�sourcerX�	entrynames                     r�show_configr|{s���>
���i�!2�	3�B�!�!�K��H��"/�A�-�Q�4�q�=�q�-��A�!.�<��A�$�!�)�a��
�<����J��1�$�8�[��I��k�"�K��Z��J��G��m�m�i�m�E�G� '����u�����$�	�:��� � ��'���'�'���6��
�:�:�<�<��&�w�F��M�M�%��0�E��d�N�T�)�	��W�3�y�J�7N��
����
���[�)�W�f�=���G�G��G�#��H�H�X�w��.��H�H�]�J�	�5�A�� � ��.�.��G�G��G�.�
��d�
+�
+��4
�.:�4
�1
�1
�
�G�G����|�(��!K�G�L���1!(�2�F�F�H��N��GB��<s�
H�H�
H�H)r�uimod.uirzDict[str, Any]�returnzOptional[ConfigLevelT])rr}r&rr~�None)rr}r~r)FFF)rr}rmzCollection[bytes]rn�dictrT�boolrUr�ror�r~r�)�
__future__rr7�typingrrrr�i18nr	�r
rrr
rrr:rrrrrrr"r'rKrQr|�r(r�<module>r�s���#�	�2�2�������
�	�������	�&3�lD�.���F��F�%�F��	F�
�F��
F��F�
�Fr(

Youez - 2016 - github.com/yon3zu
LinuXploit