Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
mercurial
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: diffhelper.cpython-310.pyc
o �]LbE � @ sH d dl mZ ddlmZ ddlmZmZ dZdd� Zdd � Z d d� Z dS ) � )�absolute_import� )�_)�error�pycompats \ No newline at end of file c C s� |t |� }|t |� }t||�}|dkrd S t�|�D ]S} | �� } | s,t�td���| tkr7t |||� q| dks?| dkrCd| } |� | � | �d�rW|� | dd � � q| �d �rb|� | � q|� | dd � � |� | � qq)a 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.) Tr s incomplete hunk� � � � +r N� -)�len�maxr �xrange�readliner � ParseErrorr �MISSING_NEWLINE_MARKER� fixnewline�append� startswith)�fp�hunk�lena�lenb�a�b�todoa�todob�num�i�s� r �6/usr/lib/python3/dist-packages/mercurial/diffhelper.py�addlines s. �r"