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 �+�bJ � @ s� d dl mZ d dlZddlmZ ddlmZmZ ddlm Z m Z mZmZm Z mZ dd� Zdd d�Zddd �Zdd� Zddd�Zdd� Zddd�Zdd� ZdS )� )�absolute_importN� )�_)�hex�nullrev)�context� mergestate�metadata�phases�scmutil�subrepoutilc C s: | j dkrd}d}n| j�dd�}|dk}|dv }||fS )z�return a (changelog, filelog) boolean tuple changelog: copy related information should be stored in the changeset filelof: copy related information should be written in the file revision � changeset-sidedataT� experimentals copies.write-to� changeset-only)r s compatibility)�filecopiesmode�uiZconfig)�repo�writechangesetcopy�writefilecopymetaZ writecopiesto� r �6/usr/lib64/python3.9/site-packages/mercurial/commit.py�_write_copy_meta s r Fc C s� | � � } |�� |�� }}|�� }| �� ��� | �d���z}t||||d�\}} |�� �� } | durzdD ]}| � |d� qh| j jdkr�t| | | �} | j � � }| j�td�� | j �|� | j �|| |�� ||�� |�� ||�� | � } | | �� }|| j � � k�r| �|| j �|�� |�� |�r*|�� �p,d }}| jdd t| �||d � t�| j|�}|| j � � k�ot| | �� }|�r�|�s�t�| |||g� | W d � W d � S 1 �s�0 Y W d � n1 �s�0 Y dS )a� Add a new revision to the target repository. Revision information is passed via the context argument. ctx.files() should list all files involved in this commit, i.e. modified/added/removed files. On merge, it may be wider than the ctx.files() to be committed, since any file nodes derived directly from p1 or p2 are excluded from the committed ctx.files(). origctx is for convert to work around the problem that bug fixes to the files list in changesets change hashes. For convert to be the identity, it can pass an origctx and this function will use the same files list when it makes sense to do so. s commit)�error�origctxN)� p1copies� p2copies� filesadded� filesremoveds extras committing changelog � s pretxncommitT)�throw�nodeZparent1Zparent2) Z unfiltered�p1�p2�user�lockZtransaction�_prepare_files�extra�copy�popZ changelogZ_copiesstorage�_extra_with_copiesZtiprevr �noter Zdelayupdate�add�descriptionr �date�revZregister_changesetZchangelogrevisionr �hookr ZnewcommitphaseZphaser Zregisternew)r �ctxr r r! r"