403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
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/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

6�h_C���SrSSKJr SSKrSSKJr SSKJr \R(aSSKrSSK	J
r
JrJr Sr
S	rS
rSr\S\S
\S0rSrSrSrSrSrSrSrSrSr\R6"SS55rSrSrg)a>supports walking the history as DAGs suitable for graphical output

The most basic format we use is that of::

  (id, type, data, [parentids])

The node and parent ids are arbitrary integers which identify a node in the
context of the graph returned. Type is a constant specifying the node type.
Data depends on type.
�)�annotationsN�)�nullrev)�attr)�dagop�smartset�util�C�P�G�M�|�:c#�^
# �0nUGH�nXnUR5Vs1sH(oUR5U;dMUR5iM* snm
UR5Vs/sHCnUR5[:wdMUR5T
;dM3UR5PME nn[T
5Vs/sHn[U4PM
 nnUH�nURU5n	U	cc[
U[R5(d[R"U5n[[[R"XU/555=o�U'U	(d*UR[U45 T
RU5 M�URU
4SjU	55 T
R!U	5 M� UR5["XG4v� GM� gs snfs snfs snf7f)a�cset DAG generator yielding (id, CHANGESET, ctx, [parentinfo]) tuples

This generator function walks through revisions (which should be ordered
from bigger to lower). It returns a tuple for each node.

Each parentinfo entry is a tuple with (edgetype, parentid), where edgetype
is one of PARENT, GRANDPARENT or MISSINGPARENT. The node and parent ids
are arbitrary integers which identify a node in the context of the graph
returned.

Nc3�B># �UHoT;dM
[U4v� M g7f�N)�GRANDPARENT)�.0�g�psets  ��4/usr/lib/python3/dist-packages/mercurial/graphmod.py�	<genexpr>�dagwalker.<locals>.<genexpr>Zs����M��A��}�/��Q�/��s�	�)�parents�revr�sorted�PARENT�get�
isinstancer�baseset�setr�reachableroots�append�
MISSINGPARENT�add�extend�update�	CHANGESET)�repo�revs�gpcacher�ctx�p�mparsr�mpar�gprs          @r�	dagwalkerr11s������G����i��"%����B��A�%�%�'�T�/�������B���[�[�]�
�"���u�u�w�'�!�
�&'�e�e�g�T�&9�
�A�E�E�G�"�	�
�
)/�t��5��1�F�A�;���5��D����T�"�B��z�"�$��(8�(8�9�9�#�+�+�D�1�D�%+���,�,�T�$��@�A�&���T�]�����
�t�4�5���������M��M�M����B���"�w�w�y�)�S�2�2�=��
C��
��
6�s:�G�G�G�G�&G�G�G�0G�?G�D
Gc#�# �[U5nUHsnXnUR5Vs1sH.oUR5U;dM[UR	54iM0 nnUR	5[
U[
U54v� Mu gs snf7f)z�cset DAG generator yielding (id, CHANGESET, ctx, [parentids]) tuples

This generator function walks the given nodes. It only returns parents
that are in nodes, too.
N)r!r�noderrr(r)r)�nodes�includer3r,r-rs       rr4r4`s|����%�j�G����j��'*�{�{�}�
�'4�!����G�8K��V�Q�U�U�W��}�	�
��w�w�y�)�S�&��/�:�:���
�s�'B
�B�B�/B
c
#��^^# �/n0nSn0mTRRS5H�upVSU;dM
URSS5upxUS:Xa5UR5(a [	U5TRU05U'M\US:XdMdUR
5(dM{UTRU05U'M� T(a[R"UU4Sj5n	OSn	UGHyup�p�X�;aURU
5 XCU
'US-
nURU
5nURU
5nUSSnU
VVs/sHunnUU;dMUPM nnnUUX�S-&[U5HunnU(dX�U'MXCU'US-
nM /n[U5H�unnUU;aRU	"U5nURUURU5UUURSS	5URSS
545 M^UU
:XdMfU
HSunnU	"U5nURUURU5UURSS	5URSS
545 MU M� X�X�U4U4v� UnGM| gs snnf7f)a\annotates a DAG with colored edge information

For each DAG node this function emits tuples::

  (id, type, data, (col, color), [(col, nextcol, color)])

with the following new elements:

  - Tuple (col, color) with column and color index for the current node
  - A list of tuples indicating the edges between the current node and its
    parents.
rsgraph�.swidthscolorc�J>�TRTUR505$r)r�branch)r�configr)s ��r�<lambda>�colored.<locals>.<lambda>�s����
�
�4��9�#3�#3�#5�r�:�c��0$r�)rs rr;r<�s��br=N���r=)�ui�configitems�rsplit�isdigit�int�
setdefault�isalnumr	�lrucachefuncr#�index�pop�	enumerater)�dagr)�seen�colors�newcolor�key�valr9�setting�getconf�cur�type�datar�col�color�next�ptr-�
addparents�i�edges�ecol�eid�bconf�ptyper:s `                        @r�coloredrbos\�����D�
�F��H�
�F��G�G�'�'��1����3�;�!�j�j��q�1�O�F��(�"�s�{�{�}�}�9<�S���!�!�&�"�-�g�6��H�$������9<��!�!�&�"�-�g�6�2���#�#�:�
��!��$'� ��4��?��K�K���"�3�K���M�H��j�j��o���
�
�3����A�w��&-�>�W�E�B����
�a�W�
�>�(��S��7���j�)�D�A�q��!�q�	�$�q�	��A�
��*���"�4��I�D�#��d�{����������
�
�3���s���	�	�(�B�/��	�	�(�C�0������ '�H�E�1�#�A�J�E��L�L� � �J�J�q�M�!�!�I�I�h��3�!�I�I�h��4���!(�)�4�$�e��e�4�4���i%(��?�s2�-I)�AI)�I)�#BI)�6
I#�I#�
B$I)�5A4I)c#�# �URnX5;aURU5 URU5n/n/nUH^up�X�:XaMX�;aURU
5 M$URU
5 URR	U	S5UR
U
'M` [
U5nSUS--nUSSn
X�XfS-&UVs/sHo�U
RU54PM nnX�SS&[
U5S:�aYURXf45 URXfS-45 SnUS-
nXX�X�U44v� SnUS-
nUS-
n/nUS	[
U5S:�aMY[
U5S:�aURXf45 [
U5S:�aURXfS-45 [
U
5U-
nUS:�aUS-
nUR
RUS5 XX�X�U44v� gs snf7f)z9adds edge info to changelog DAG walk suitable for ascii()rr�N�\r)rMr#rI�stylesrr]�lenrJ)rU�char�staterrrM�nodeidx�knownparents�
newparentsra�parent�ncols�width�nextseenr-r]�	nmorecolss                 r�
asciiedgesrr�s�����:�:�D�
�����C���j�j��o�G��L��J� �
���=���>�����'����f�%�"'�,�,�"2�"2�5�$�"?�E�K�K���!�
��I�E�
���	�M�E��A�w�H�&0�W��{�#�3?�@�<�a�x�~�~�a�(�
)�<�E�@���G�

�j�/�A�
�
	���g�'�(�
���g��{�+�,��	�
��
���5�E�)�"D�E�E����1���
��
�����q�M��j�/�A�
� �:����
���g�'�(�
�:����
���g��{�+�,��H�
��%�I��1�}�
��
��	�K�K�O�O�C����u��i�@�
A�A��9
A�s�B>G�G�A,G�
B	Gc�P�[U5Hunup#X2:�dMX#S-4X'M g)Nr)rK)r]r\�start�ends    r�_fixlongrightedgesrv�s*��$�U�+���<�E��;��Q�w�'�E�H�,r=c���U(aSXE:XaNUS:waHUS:Xa6[US-U5nXS-US-
S-nURSS/X7-
-5 U$SS/X1-
S-
-$X1-
S-
n	U	S:�aX	S-*S$/$)Nrr@rrd�/� re)�maxr&)
�echars�idx�pidxrn�coldiff�pdiff�fix_tailrt�tail�	remainders
          r�_getnodelineedgestailr�s����G�$��A���b�=���a���&�E���'�U�Q�Y�!�O�4�D��K�K��t���
�6�7��K��4�=�E�K�!�O�4�4��K�!�O�	�-6��]�v�A�
�&�(�)�B��Br=c�2�UH�upEXES-:Xa
SUSU-S-'MXES-
:Xa
SUSU-S-'M/XE:XaUSU-USU-'MDSU-[U5:�aMXSUSU-'XE:�aXTpT[SU-S-SU-5HnX&S:wdM
SX&'M M� g)Nrrxrdre�+�-)rg�range)r{r]�nodeline�	interlinertrur\s       r�
_drawedgesr�s����
���!�G��%)�I�a�#�g��k�"�
�A�g�
�',�I�a�%�i�!�m�$�
�\�#)�!�e�)�#4�I�a�%�i� ��3�w�#�h�-�'�� $�H�Q��W���{� #���1�u�9�q�=�!�c�'�2���;�$�&�"&�H�K�3�r=c���USUS-nXS-
4U;dX4U;aURXS-US-S-5 OURSS/5 X!-
S-
nUS:�aURXS-*S5 U$)Nrdrryr)r&)r{r|rnr]�liner�s      r�_getpaddingliner�&s����)�C�!�G��D��1�W�~���3�*��"5�	
���F��7�c�A�g��]�3�4����T�4�L�!���a��I��1�}����F��]�+�-�.�/��Kr=c	���SUR5;agUSSS2nU(a%UScUR5 U(aUScM[URS5S-S-
S5nUR(dSOSn[U5Xv-:a'UR
USS5 [U5Xv-:aM'U(a�/n/n	URS5n
[XSS2U
S-5H2up�UcUR
US-5 MU	R
US-5 M4 [[X�[U	5S--S55n
U	SSnX*SH]nS/[U5U
-
-X�S&[[U55H.nX�S-
n[UX�5X�'UX�:�aSOXUUU'M0 M_ UR(dS	S
S.OSS
0n[U5H;up�SU;aM
UVs/sHo�=(d URUS5PM snUSS&M= UR5VVs/sHuno�bM
UPM nnnUHnUU	URU5 M gs snfs snnf)z�Draw ending lines for missing parent edges

None indicates an edge that ends at between this node and the next
Replace with a short line ending in ~ and add / lines to any edges to
the right.

Nrdr@rr�ryrxr�~)rrd)�valuesrJrz�count�graphshortenrgr#rIrK�listr�r�items�remove)�lines�extra�edgemaprMri�	edgechars�
shift_size�minlines�empties�toshift�first_emptyr\�c�targets�	positionsr��pos�mapr-r�rms                     r�_drawendinglinesr�;sO���7�>�>�#�#���c��c�
�I�
�	�"�
�-��
�
���	�"�
�-��i�o�o�d�+�a�/�1�4�a�8�J��*�*�q��H�

�e�*�x�,�
,�
���U�1�X���e�*�x�,�
,�������k�k�$�'���e�N��N�3�[�A�5E�F�D�A��y����q�1�u�%����q�1�u�%�	G�
�u�[��G��q�8H�*H�!�L�M���A�J�	��+�,�'�D�"&��3�t�9�{�+B�!C�D����3�y�>�*���l�Q�&��"�3��
�3�	��$'�'�*�$4�D�%��
�:K��S�	�+�(�%*�$6�$6�d�t�
�Q��I�C��U�#����t���26�7�$�Q�(�����4�(�(�$�7��Q��$�$�M�M�O�
9�O�D�A�q�a�O�F�
9����F�O����F����	8��:s�#$I�$	I�1Ic�X�\rSrSrSr\R"S\R"\5S9r	\R"S\R"\
5S9r\R"SSS9r\R"SSS9r
\R"S\R"\R5S9r\R"SSS9rSrg)�
asciistateioz State of ascii() graph renderingF)�init�defaultrr?N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�ib�Factoryr�rM�dictr]�lastcoldiff�	lastindex�EDGES�copyrfr��__static_attributes__r?r=rr�r�os���*��7�7��t�|�|�D�'9�:�D��G�G�����T�(:�;�E��'�'�u�a�0�K����U�A�.�I�
�W�W�%����e�j�j�)A�
B�F��7�7��u�5�Lr=r�c�b�UH)up#URX#-R5S-5 M+ g)a<outputs an ASCII graph of a DAG

this is a helper function for 'ascii' below.

takes the following arguments:

- ui to write to
- graph data: list of { graph nodes/edges, text }

this function can be monkey-patched by extensions to alter graph display
without needing to mimic all of the edge-fixup logic in ascii()
�
N)�write�rstrip)rA�graph�ln�logstrs    r�outputgraphr�{s,���
��
���"�+�%�%�'�%�/�0�r=c�&�Uupgp�SU	s=:aS:de eURURp�UVV
s/sHo�RUS5S4Ho�PM M! nnn
URS[	X�-[U5-
S5-5 U	S:Xa[
U5 [U5S:�=(a/ U	S:H=(a# UVVs/sHunnUS-U:dMUPM snnn[U5S:*=(a U(+nUS	US-nURUS/5 UR[UUURUU	URU55 US	US-n[SU	-5HnURS5 M X�-
S-
nU	S:Xa&[U5HnURS
S/5 M OHU	S:XaURX�S-S-US-5 O%[U5HnURSS/5 M [X�UU5 U/nU(aUR[X�X�55 UR(a)[SU55(aURU5 OURU5 US	X�-S-n[U5[U5:aF[U5[U5:a.URUS	S	5 [U5[U5:aM.[!UUX�U5 [U5[U5:a+URS
5 [U5[U5:aM+[	X�U	-5nUVs/sHnSSU-S
R#U54-PM nn[%U['UU55 X�l	Xalg	s sn
nfs snnfs snf)aYprints an ASCII graph of the DAG

takes the following arguments (one call per node in the graph):

  - ui to write to
  - Somewhere to keep the needed state in (init to asciistate())
  - Column of the current node in the set of ongoing edges.
  - Type indicator of node data, usually 'C' for changesets.
  - Payload: (char, lines):
    - Character to use as node's symbol.
    - List of lines to display as the node's text.
  - Edges; a list of (col, next_col) indicating the edges between
    the current node and its parents.
  - Number of columns (ongoing edges) in the current revision.
  - The difference between the number of columns (ongoing edges)
    in the next revision and the number of columns (ongoing edges)
    in the current revision. That is: -1 means one column removed;
    0 means no columns added or removed; 1 means one column added.
���rdrry)rryrr@rNrxrec3�<# �UHo(dMUS;v� M g7f)s\/Nr?)rr�s  rr�ascii.<locals>.<genexpr>�s���9�O�q�q�{�q�F�{�O�s�
�r=s%-*s )r]rMrr&rzrgrvr�r�r�r�r#r�r�r��anyr��joinr��zip)rArirUrh�text�coldatar|r]rnr~r�rMr-r�r{�x�y�add_padding_line�fix_nodeline_tailr��shift_interliner\r�r��extra_interline�indentation_levelr�s                           r�asciir��s`��(")��C��
���!�������K�K����T��
D��A���A�t�(<�d�'C�!�a�'C�a��F�
D�
�M�M�,��U�_�s�4�y�%@�!�!D�D�E��"�}�	�5�!�	�D�	�A�
�P�'�R�-�P�U�,P�U�6�A�q�a�!�e�a�i�Q�U�,P���D�	�Q��?�/?�+?���i��a�� �H��O�O�T�4�L�!��O�O�����O�O�������	
�
��Y�s�Q�w�'�O�
�1�w�;�
�����t�$� ��K�!�O�E��"�}��u��A��"�"�D�$�<�0��	�A�����v�Q�w�!�m�e�a�i�@�A��u��A��"�"�E�4�=�1���v�h��8��J�E��
���_�V�%�?�@�
����9�O�9�9�9��L�L��)��	���_�%��4���1�4�5�O�
�5�z�C��I���%�j�3�t�9�$��L�L���+�,��%�j�3�t�9�$��U�O�W�E�B�

�d�)�c�%�j�
 ����C���d�)�c�%�j�
 ��E�7�?�3��GL�
�GL�t��A�)�)�3�8�8�D�>�:�:�u�
�
���C��t�$�%� ���O��KE��(-Q��T
s�&N�N�N�:#N)r��
__future__r�typingr3r�
thirdpartyr�
TYPE_CHECKING�rrr	r(rrr$r�r1r4rbrrrvr�r�r�r��sr�r�r�r?r=r�<module>r�s���	�#�
���
������
�	�	
�����
�

��{�D�-��>��,3�^;�V�r3B�l(�C�'�&�*1�h���6�6��6�1�"r=

Youez - 2016 - github.com/yon3zu
LinuXploit