| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a
�+�b,] � @ s` d Z ddlmZ ddlZddlZddlmZ ddlmZm Z ddl
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlm Z dd lm!Z" G d
d� dej�Z#G dd
� d
e#e
j
�Z$G dd� de#ej%�Z&G dd� dej�Z'G dd� dej(�Z)G dd� dej*�Z+dd� Z,G dd� de-�Z.d#dd�Z/dd� Z0G dd� de-�Z1d$d!d"�Z2dS )%z�Repository class for viewing uncompressed bundles.
This provides a read-only repository interface to bundles as if they
were part of the actual repository.
� )�absolute_importN� )�_)�hex�nullrev)�bundle2�changegroup� changelog�cmdutil� discovery�encoding�error�exchange�filelog� localrepo�manifest�mdiff�pathutil�phases�pycompat�revlog�revlogutils�util�vfs)�urlutil)� constantsc sX e Zd Zdd� Zddd�Zdd� Zd� fdd � Zd
d� Zdd
� Zdd� Z dd� Z
� ZS )�bundlerevlogc C sN t �|�}tjj| |||d� || _t| �}|d | _t� | _|� � D �] }|\}} }
}}}
}}t|
�}|�
� | }| j�|�r�| j�
| j�|�� qF||kr�t}n||�}| |
fD ]$}| j�|�s�t�|| jtd���q�| j�|�s�t|| jtd���| �|�}tj|||||| �| �| �|
�|d�}| j�|� | j�
|� |d7 }qFd S )N)�target�radixr s unknown parents unknown delta base)�flagsZdata_offsetZdata_compressed_lengthZdata_delta_baseZlink_revZparent_rev_1Zparent_rev_2Znode_id)�vfsmod�readonlyvfsr �__init__�bundle�len�
repotiprev�setZ
bundlerevs� deltaiter�tell�indexZhas_node�add�revr r
�LookupErrorZ
display_idr r �entry�append)�self�openerr r �
cgunpacker�
linkmapper�nZ deltadata�node�p1�p2�csZ deltabase�deltar Zsidedata�size�startZlinkrev�pZbaserev�e� r= �:/usr/lib64/python3.9/site-packages/mercurial/bundlerepo.pyr"