Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a �+�bE � @ 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||�}|dkr,q�t�|�D ]�} | �� } | sTt�td���| tkrjt |||� q6| dksz| dkr�d| } |� | � | �d�r�|� | dd� � q6| �d �r�|� | � q6|� | dd� � |� | � q6q dS ) 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.) r s incomplete hunk� � � � +r N� -)�len�maxr �xrange�readliner Z ParseErrorr �MISSING_NEWLINE_MARKER� fixnewline�append� startswith)�fp�hunkZlenaZlenb�a�bZtodoaZtodobZnum�i�s� r �:/usr/lib64/python3.9/site-packages/mercurial/diffhelper.py�addlines s* r c C sd | d }|� d�r |dd� }n|dd� }|�d�rF|dd� |d<