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__/subrepoutil.cpython-313.pyc
�

6�h<G����SSKJr SSKrSSKrSSKrSSKrSSKJrJrJrJ	r	J
r
Jr SSKJ
r
 SSKJrJrJrJrJrJr SSKJrJr \\\\	\
\/(deSr\R2(a(SS	KJrJrJrJrJr  SS
K!J"r# SSK$J%r% \\\\\ /(de\\&\\&\&\&44r'SSjr(SS
jr)SSSjjr*SSSjjr+Sr,SSjr-SSjr.SSSjjr/SSjr0g) �)�annotationsN)�Any�Dict�List�Optional�Set�Tuple�)�_)�config�error�	filemerge�pathutil�phases�util)�
stringutil�urlutil)�rsempty)�context�	localrepo�match�subrepo�ui)�status)�MatcherTc
�^^^^^�[R"5mTR5mSUUUUU4SjjmST;aT"S5 TRS5H(up#TRSX#TR	SU55 M* 0nST;af[TSR
5R55H7upVUR5nU(dMURSS5uprXtU'M9 SU4S	jjn0n	TR!S
5GHuup#Sn
UR#S5(aNS
U;a[R"[S55eURS
S5up�U
SSn
UR5n[$R&"U5R)5(d�[+TSS9nU(a�[$R&"U5n[,R."UR0=(d S
U5Ul[,R2"UR05Ul[5U5nU"U5n
X�:Xa	U"U5nOU
nU"U5nUR75UR9US
5U
4U	[:R<"U5'GMx U	$![a7 [R"[S5TRS5US-4-5ef=f![a GN�f=f)z�return a state dict, mapping subrepo paths configured in .hgsub
to tuple: (source from .hgsub, revision from .hgsubstate, kind
(key in types dict))
Nc�:>�UT;a(TUR5nTRXXT5 g[R"[S5TR	U5-5e![a/ TR[S5TR	U5-5 gf=f)Ns*warning: subrepo spec file '%s' not found
s subrepo spec file '%s' not found)�data�FileNotFoundError�warnr�pathto�parser
�Abort)	�f�sections�remapr�ctx�p�read�repors	    ������7/usr/lib/python3/dist-packages/mercurial/subrepoutil.pyr)�state.<locals>.readTs������8�
��1�v�{�{�}��
�G�G�A�X�d�3��+�+��7�8�4�;�;�q�>�I��
��%�
�����F�G��k�k�!�n�%���

�s�A!�!6B�B�.hgsub�subpaths�.hgsubstate� r
s8invalid subrepository revision specifier in '%s' line %dc	�>�TRS5HJup[R"U5n[R"SSU5n[R"XUSS9nML U$![R
aMn[
R"[S5TRSU5[R"U54-5eSnAff=f)Nr.s\\\\([0-9]+)s\\\1r
)�counts#bad subrepository pattern in %s: %s)
�itemsr�	escapestr�re�subr
r#r�source�forcebytestr)�src�pattern�repl�er(s    �r+r&�state.<locals>.remap�s�����W�W�[�1�M�G��'�'��-�D��6�6�*�H�d�;�D�	
��f�f�W�C�q�9��2�$�
���8�8�
��k�k��<�=�����g�6�"�/�/��2������
�s�A#�#C�7AB?�?Crshg�[�]s!missing ] in subrepository sourceF��abort)NN)r9�bytes�returnrB)rr*�configitems�set�configsource�	enumerater�
splitlines�lstrip�split�
ValueErrorr
r#rr!rr3�
startswithr�url�isabs�
_abssource�	posixpath�join�path�normpathrB�strip�getr�pconvert)r'rrRr9�rev�i�l�revisionr&�state�kind�parent�joined�remappedr(r)r*s``            @@@r+r[r[Lsu���
�}�}��A��8�8�:�D���"�C���Y���^�^�K�0�	��	���k�4�b�o�o�k�4�&H�I�1�
�C����	�!�#�n�"5�":�":�"<�"G�"G�"I�J����H�H�J����	�%&�W�W�T�1�%5�N�H�%�D�	�K�$�*
�E��W�W�S�\�	�����>�>�$����3���k�k�!�$H�"I�J�J��	�	�$��*�I�D����8�D��*�*�,�C��{�{�3��%�%�'�'���E�2�F�� ���V�,��'�n�n�V�[�[�-?�C��E���'�0�0����=����v���!��=���%���*�C�"�C��C�j��&)�i�i�k�3�7�7�4��3E�t�%L��d�m�m�D�!�"�3"�6�L��{"���+�+��;�� �;�;�~�6��Q��@�	A�����!�	��	�s,�AK�J�(K�AK�K�
K�Kc���[U5Vs/sH#nXS[S:wdMSXSU4-PM% nnURSSRU5S5 gs snf)z=rewrite .hgsubstate in (outer) repo with these subrepo statesr
s%s %s
r/rN)�sorted�	nullstate�wwriterQ)r*r[�s�liness    r+�
writestaterf�sk�����
��A��8�A�;�)�A�,�&�	&�
�e�h�q�k�1�%�%��
�
�
	�K�K��������5��
s
�A�Ac�	^�X#:XaUR5nURnURnURn0n	TRRSXU4-5 SU4Sjjn
[R
"U5n[
UR55GHup�URU[5nU
nURU5R5(a
U
SU
SS-4nX:XaUnUR5nUUS'X�;Ga�X|nUU:XdUU:XaX�U'M�X�:Xa1U
"USU5 URU5RUU5 UX�'M�USUS:warU
SUS'USUS	'TRR[S
5U-S5(a2U
"USU5 URU5RUU5 UX�'GM8GM;USUS:Xa2U
"USU5 URU5RUU5 UX�'GMyU
"US
5 URU5nURU
S5US'URUS5US'TRR[S5U-S5nUS:Xa1URU5R!U5 X�U'U
"USU5 GM US:XaX�U'U
"USU
5 GM7URU5RUU5 UX�'U
"USU5 GMiX�:Xa+U
"US5 URU5R#5 GM�U[:XaU
"US5 X�U'GM�TRR[S5U-S5(dGM�U
"US5 URU5R#5 GM [
UR55H�unnX�;aM
X�;a0U
"USU5 URU5RU5 UX�'MBUX�:wdMLUR5nUUS'TRR[S5U-S5S:XdM�U
"USU5 URU5RU5 UX�'M� [%TU	5 U	$)zwdelegated from merge.applyupdates: merging of .hgsubstate file
in working context, merging context and ancestor contextssubrepo merge %s %s %s
c�^>�U(aSU-nTRRSXU4-5 g)Ns%s:%s:%ss  subrepo %s: %s %s
)r�debug)rd�msg�rr*s   �r+ri�submerge.<locals>.debug�s)�����a��A����
�
�.�!�!��<�=rrr
�+�ssother changed, getslosros� subrepository sources for %(s)s differ
you can use (l)ocal%(l)s source (%(lo)s) or (r)emote%(o)s source (%(ro)s).
what do you want to do?$$ &Local $$ &Remotesprompt changed, getsother side changed, getsboth sides changedsslssrs� subrepository %(s)s diverged (local revision: %(sl)s, remote revision: %(sr)s)
you can (m)erge, keep (l)ocal%(l)s or keep (r)emote%(o)s.
what do you want to do?$$ &Merge $$ &Local $$ &Remotes
merge withskeep local subrepo revisionsget remote subrepo revisionsremote removed, removeslocal added, keepsz local%(l)s changed subrepository %(s)s which remote%(o)s removed
use (c)hanged version or (d)elete?$$ &Changed $$ &Deletes
prompt removesremote added, getsz remote%(o)s changed subrepository %(s)s which local%(l)s removed
use (c)hanged version or (d)elete?$$ &Changed $$ &Deletesprompt recreate)r)�p1�substaterrir�
partextrasrar3rUrbr6�dirty�copy�promptchoicer�shortid�merge�removerf)r*�wctx�mctx�actx�	overwrite�labels�s1�s2�sa�smri�
promptssrcrdrY�a�ld�promptsrk�srepo�options`                   r+�submerger��s[����|��w�w�y��	
���B�	
���B�	
���B�	�B��G�G�M�M�-��T�0B�B�C�>�
�%�%�f�-�J��r�x�x�z�"����F�F�1�i� ��
���8�8�A�;������A�$��!��t��$�B��<��A��/�/�#�����
��7���A��Q�w�!�q�&��1������a�.��2���������9�-�����A��!�A�$��!"�1�����!"�1������7�7�'�'��0�����
�
��!�3�Q�7��H�H�Q�K�O�O�A�y�1��B�E�
��A��!�A�$���a�3�Q�7���������9�-�����a�.�/�������!&���q��t�!4����!&���q��t�!4�������-�-��:��������Q�;��H�H�Q�K�%�%�a�(��q�E��!�]�A�.��q�[��q�E��!�;�Q�?��H�H�Q�K�O�O�A�y�1��B�E��!�;�Q�?�
�W��!�.�/��H�H�Q�K��� �
�)�^��!�)�*��q�E���w�w�#�#��.���
��	�	��a�)�*������"�"�$�o#�r�r�x�x�z�"���1��7��
�[��!�)�1�-��H�H�Q�K�O�O�A���B�E�
�"�%�Z� �o�o�'�G��G�D�M����$�$��2���
��	��
��a�+�Q�/���������"����3#�8�t�R��
�Irc��/n[5nURR5nSU;GaqURURUR
4HnSU;dMUR
S5 M UR5Rn	[UR55GH$n
U"U
5(d6X�;aX�Xz'MU(d"[R"[S5U
-5eURU
5RS5nU(aYURSS5(d[R"U[S5S9eUR!U
5 UR#U
5 M�URU
5R%5nXzS	X�U
S
4Xz'U	R'U
S5SU:wdGMUR!U
5 GM' UR)5HIn
U
RV
s/sHo�U;dM
U
PM nn
X^V
s/sHo�"U
5(dMU
PM sn
-
nMK U(amU"S5(dDSUR5UR	5-;a[R"[S
55eURR+S	S5 O\SUR
;aLSU;aFSURUR-UR
-;aUR
R+S	S5 XVU4$s sn
fs sn
f)aaCalculate .hgsubstate changes that should be applied before committing

Returns (subs, commitsubs, newstate) where
- subs: changed subrepos (including dirty ones)
- commitsubs: dirty subrepos which the caller needs to commit recursively
- newstate: new state dict which the caller must write to .hgsubstate

This also updates the given status argument.
r-r/s#commit with new subrepo %s excludedTsuiscommitsubreposs#use --subrepos for recursive commit)�hintr�)NNNr
s$can't commit subrepos without .hgsub)rErprs�modified�added�removedrwrora�keysr
r#rr6�dirtyreason�
configbool�append�add�	basestaterU�parents�insert)rrxrr�force�subs�
commitsubs�newstate�c�oldstaterdr��bsr(rks               r+�	precommitr�Qs|�� �D���J��}�}�!�!�#�H��D�����&�,�,����>�A���"�����(�?��7�7�9�%�%����
�
��(�A���8�8��=�"*�+�H�K����+�+��@�A�A�E����(�(�1�+�1�1�$�7�K���}�}�U�,=�>�>��+�+�#��E�F������A�����q�!��X�X�a�[�*�*�,��'�{�1�~�r�A�;�q�>�B����<�<��#5�6�q�9�R�?��K�K��N�/)�4����A��J�J�<�J�q�8�*;��J�A�<���.��1�U�1�X�Q��.�.�D� ����#�#�	��
�
��$�*�*�,�.�)��k�k�!�$K�"L�M�M��O�O�"�"�1�n�5��	�f�n�n�	$��T�!�n��O�O�f�l�l�*�V�^�^�;�'
�
�N�N�!�!�!�^�4��X�%�%��!=��.s�.	K?�;K?�L�Lc��Un/n[US5(ao[R"UR5nUR	[U55 UR
5(aOURn[US5(aMoUR5 [R"U6n[R"S5RnU"U5(aUURSS5updURS5(aUSSnSnOSnUS-U-[R "U5-nU$[R "U5nU$)	zNreturn the source of this repo

Either absolute or relative the outermost repo�
_subparents^[a-zA-Z0-9+.\-]+:�:r
s//r�Nr)�hasattrrrM�
_subsourcer�rBrNr��reverserPrQr5�compilerrJrLrS)	r*r]�chunksr7rR�matchscheme�scheme�sep�normalized_paths	         r+�repo_rel_or_abs_sourcer��s���F�
�F�
�&�,�
'�
'����V�.�.�/���
�
�e�F�m�$��<�<�>�>���"�"���&�,�
'�
'��N�N���>�>�6�"�D��*�*�3�4�:�:�K��4����z�z�$��*����?�?�5�!�!����8�D��C��C� �4�-�#�-�	�0B�0B�4�0H�H����$�,�,�T�2���rc���Un[US5(aURn[US5(aMUR[[R
"UR55S$)z9return path to this (sub)repo as seen from outermost repor�N)r�r��root�lenr�normasprefix)r*r]s  r+�reporelpathr��sT��
�F�
�&�,�
'�
'��"�"���&�,�
'�
'��9�9�S��.�.�v�{�{�;�<�>�?�?rc��UR$)z7return path to this subrepo as seen from outermost repo)�_relpath)r6s r+�
subrelpathr��s���<�<�rc��[US5(Ga[R"UR5nUR	5(a[U5$[R"UR5Ul[URUSS9nU(a�[R"[R"U55n[R"UR=(d SUR5Ul[R"UR5Ul[U5$GO3Sn[US5(a
URnO�U(a>URR!SS5(aURR!SS5nO|URR!SS	5(aURR!SS	5nO>UR#5(a)[$RR'UR(5$U(aK[R*"U5(a.[-U5S
:Xd	US
SS;a[R."U5nU$U(a[0R2"[5S
55eg)z�return pull/push path of repo - either based on parent repo .hgsub info
or on the top repo config. Abort or return None if no source found.r�Fr@rN�_subtoppathspathssdefault-pushsdefaultr��s\/s(default path for subrepository not found)r�rrMr�rNrBrPrSrRrOr�rrVrQr�rr�shared�os�dirname�
sharedpath�hasdriveletterr��abspathr
r#r)r*�pushrAr7r]rRs      r+rOrO�s����t�\�"�"����T�_�_�-���<�<�>�>���=� ��(�(����5����D�O�O�T��?����[�[����v�!6�7�F�#�.�.����);��V�[�[�I�F�K�#�,�,�V�[�[�9�F�K���=� �	����4��'�'��#�#�D�
�d�g�g�n�n�X��?�?��7�7�>�>�(�O�<�D�
�W�W�^�^�H�j�
1�
1��7�7�>�>�(�J�7�D�
�[�[�]�]��7�7�?�?�4�?�?�3�3���%�%�d�+�+��t�9��>�T�!�A�Y�f�%<��<�<��-�D��K���k�k�!�G�H�I�I�
rc��[R"U5n[USS5nU(dU$URSS5nUS;a"[R
"[
S5U-5eUS:XaU$[RnSn[U5H5nURU5nURX7S5n	XY:dM1U	nUnM7 X%:aUS:XaG[R
"[
S	5[RU[RUU4-5eUR[
S
5[RUU4-5 U$U$)Nrpsphasess
checksubrepos)�ignoresfollow�aborts.invalid phases.checksubrepos configuration: %sr�r
r�s=can't commit in %s phase conflicting %s from subrepository %ssAwarning: changes are committed in %s phase from subrepository %s
)
r�newcommitphase�getattrrr
r#r�publicrar6�phase�
phasenamesr )
rr'�commitphaserp�check�maxphase�maxsubrdr6�subphases
          r+r�r��s[���'�'��+�K��s�J��-�H�����I�I�i�!1�2�E��4�4��k�k�
�?�@�5�H�
�	
�
�	�����}�}�H�
�F�
�H�
���g�g�a�j���9�9�X�[��^�,�����H��F�����H���+�+��=��
�%�%�k�2��%�%�h�/���	�
�

�	���
�5�
�� � ��*�F�3�	
4�	
����r)r'�context.changectxr�uimod.uirC�Substate)r*�localrepo.localrepositoryr[r�rC�None)N)r*r�rxzcontext.workingctxryr�rzr�r{�boolr|z
Optional[Any]rCr�)F)rr�rxzcontext.workingcommitctxrzistatus.Statusrrr�r�rCz(Tuple[List[bytes], Set[bytes], Substate])r*r�rCrB)r6zsubrepo.abstractsubreporCrB)FT)r*r�r�r�rAr�rCzOptional[bytes])rr�r'r�rC�int)1�
__future__rr�rPr5�typingrrrrrr	�i18nr�rr
rrrr�utilsrrrb�
TYPE_CHECKINGrrr�matchmodrr�uimod�
interfacesr�istatus�interfaces.typesrrBr�r[rfr�r�r�r�r�rOr��rr+�<module>r�s���#�	��	�
������������	�
���
!�	�	�����.��	����
������u�U�E�5�0�1�1�2��e�P6� !�
P�
#�P�
�P��P��	P�
�P�
�
P��P�p�I&��I&�
"�I&�
�I&��	I&�
�I&�.�
I&�X�:@����1J�
#�1J�
�1J��1J��	1J�h)r

Youez - 2016 - github.com/yon3zu
LinuXploit