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/hgext/narrow/__pycache__/ |
Upload File : |
a �+�by- � @ s d dl mZ d dlZd dlZd dlmZ d dlmZmZm Z m Z mZmZm Z mZmZmZmZ d dlmZ dZdZdZd Zd ZdZdZd ZdZdZe�e�Ze�e�Z d dd�Z!dd� Z"dd� Z#e�$eeef�dd� �Z%e�$e�dd� �Z&e�$e�dd� �Z'dd� Z(dd� Z)dS )!� )�absolute_importN)�_)�bundle2�changegroup�error�exchange� localrepo� narrowspec�repair�requirements�scmutil�util�wireprototypes)� stringutils narrowacls narrow:changespecs narrow:responsespecs narrow:specs includes excludes KILLs DONEs >20s20s20sls >20s20s20s20slc s� � j �dd�sJ �|�d�}� fdd�|D �}|s>ttd���t|�} ttt|�dg ���} ttt|�dg ���}t | � | || |||�d d �� d S ) N� experimental� narrowservebrokenellipses� changegroupc s g | ]}|t �� �v r|�qS � )r Zsupportedoutgoingversions)�.0�v��repor �@/usr/lib64/python3.9/site-packages/hgext/narrow/narrowbundle2.py� <listcomp>8 s �z3getbundlechangegrouppart_narrow.<locals>.<listcomp>s no common changegroup version�includepats�excludepats�depth) �ui� configbool�get� ValueErrorr �max�sorted�filter�bool�generateellipsesbundle2)�bundlerr �sourceZ bundlecapsZb2caps�heads�common�kwargsZ cgversions�version�include�excluder r r �getbundlechangegrouppart_narrow+ s( � �r. c C s� t j|j||d�}|d ur<t|�}|dk r<t�td�| ��t|pH|�� �}t|pX|j g�}t j|||t� ||d�\} } }|j� dt| � � | r�tj|||d|d u|| d�}|�|| dd �} | jd | d�}|�d|� t�|�r�|�d d� d S )N)r, r- � s depth must be positive, got %d)r s Found %d relevant revs T�ZmatcherZellipses�shallow� ellipsisrootsZ fullnodesF� narrow_widenr ��data� version� treemanifest� 1)r �match�root�intr �Abortr �setr( �nullidr �_computeellipsisr �debug�lenr � getbundler�generate�newpart�addparamr �istreemanifest)r&