ROOTPLOIT
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: ws67150586 (67150586)
PHP: 8.3.36
Disabled: NONE
Upload Files
File: //kunden/kunden/kunden/lib/python3/dist-packages/mercurial/__pycache__/diffhelper.cpython-313.pyc
�

6�h	��>�SSKJr SSKJr SSKJr SrSrSrSr	g	)
�)�annotations�)�_)�errors\ No newline at end of file
c�^�U[U5-
nU[U5-
n[Xg5nUS:Xag[U5H�n	UR5n
U
(d[R
"[
S55eU
[:Xa[XU5 MQU
S:XdU
S:XaSU
-n
URU
5 U
RS5(aURU
SS5 M�U
RS	5(aURU
5 M�URU
SS5 URU
5 M� GM-)
z�Read lines from fp into the hunk

The hunk is parsed into two arrays, a and b. a gets the old state of
the text, b gets the new state. The control char from the hunk is saved
when inserting into a, but not b (for performance while deleting files.)
rsincomplete hunk�
�
� �+rN�-)�len�max�range�readliner�
ParseErrorr�MISSING_NEWLINE_MARKER�
fixnewline�append�
startswith)�fp�hunk�lena�lenb�a�b�todoa�todob�num�i�ss           �6/usr/lib/python3/dist-packages/mercurial/diffhelper.py�addlinesr"s�����s�1�v�
���s�1�v�
���%����!�8���s��A����
�A���&�&�q�);�'<�=�=��*�*��4�A�&���E�z�Q�'�\��1�H���K�K��N��|�|�D�!�!�����1�2������d�#�#����������1�2��������%�
�c���USnURS5(aUSSnOUSSnURS5(aUSSUS'URS5(aXAS'X@S'g)zEFix up the last lines of a and b when the patch has no newline at EOF���r	N���)r
rr)r
r)�endswithr)rrr�l�hlines     r!rr5so���R��A��z�z�'����#�2����#�2�������%�%��a�b�	��"������%�%��"����Hr#c��[U5n[U5nX4U-
:�dUS:ag[U5HnXSSXU-:wdM g g)z�Compare the lines in a with the lines in b

a is assumed to have a control char at the start of each line, this char
is ignored in the compare.
rFrNT)r
r)rr�bstart�alen�blenrs      r!�testhunkr.EsU���q�6�D��q�6�D��V�m��v��z��
�4�[���4���8�q�V��}�$���r#N)
�
__future__r�i18nr�rrr"rr.�r#r!�<module>r3s*��#���;���D
� 
r#