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 : /lib64/python3.9/site-packages/hgext/remotefilelog/__pycache__/ |
Upload File : |
a �+�b�3 � @ s� d dl mZ d dlZd dlmZmZ d dlmZ d dlm Z m Z mZ ddlm Z mZmZ G dd � d e�ZG d d� de j�ZG dd � d e j �ZG dd� de�ZG dd� de�ZdS )� )�absolute_importN)�hex�sha1nodeconstants)�getattr)�mdiff�pycompat�revlog� )� basestore� constants�shallowutilc @ s$ e Zd ZdZdZdZdZdZdZdS )� ChainIndiciesz>A static class for easy reference to the delta chain indicies.r r � � � N) �__name__� __module__�__qualname__�__doc__�NAMEZNODEZBASENAME�BASENODE�DATA� r r �F/usr/lib64/python3.9/site-packages/hgext/remotefilelog/contentstore.pyr s r c s� e Zd Z� fdd�Zdd� Zejjdd� �Zdd� Z ejjd d � �Z dd� Zejjd d� �Zdd� Z dd� Zdd� Zddd�Z� ZS )�unioncontentstorec s: t t| �j|i |�� || _|�d�| _|�dd�| _d S )N� writestore�allowincompleteF)�superr �__init__�stores�getr r ��self�args�kwargs�� __class__r r r ) s zunioncontentstore.__init__c C sh | � ||�}|d tj tjkr0t|t|�f��|�� tj }|}|rd|�� tj }t � ||g�}qB|S )a Fetches the full text revision contents of the given name+node pair. If the full text doesn't exist, throws a KeyError. Under the hood, this uses getdeltachain() across all the stores to build up a full chain to produce the full text. ���)� getdeltachainr r r �nullid�KeyErrorr �popr r Zpatches)r"