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/mercurial/utils/__pycache__/ |
Upload File : |
a �+�b�C � @ s d dl mZ d dlZd dlZddlmZ ddlmZmZm Z ddl mZmZm Z mZ ddlmZ ddlmZ dd lmZ e�e j�Zd Zdd� Ze�d �Zdd� Zdd� Zdd� Zdd� Z dd� Z!dd� Z"d%dd�Z#dd� Z$dd� Z%dddddej&d d df d!d"�Z'd#d$� Z(dS )&� )�absolute_importN� )�_)�bin�nullrev�sha1nodeconstants)�dagop�error�mdiff�pycompat)� repository)�sidedata)�hashutil� c C s^ |t jkrt�� }|�|� n.||k r0|}|}n|}|}t�|�}|�|� |�| � |�� S )z�Compute the SHA-1 for revision data and its parents. This hash combines both the current file contents and its history in a manner that makes it easy to distinguish nodes with the same content in the revision graph. )r �nullid� _nullhash�copy�updater �sha1�digest)�text�p1�p2�s�a�b� r �A/usr/lib64/python3.9/site-packages/mercurial/utils/storageutil.py�hashrevisionsha1$ s r � c C sf | dd� dkrdS t �| d��� }| d|� }i }|�� D ]}|�dd�\}}|||<