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/hooklib/__pycache__/ |
Upload File : |
a �+�b^ � @ s: d Z ddlmZ ddlmZ ddlmZmZ ddd�ZdS ) aw reject_merge_commits is a hook to check new changesets for merge commits. Merge commits are allowed only between different branches, i.e. merging a feature branch into the main development branch. This can be used to enforce policies for linear commit histories. Usage: [hooks] pretxnchangegroup.reject_merge_commits = python:hgext.hooklib.reject_merge_commits.hook � )�absolute_import)�_)�error�pycompatNc s� |dkr t �td�t�|� ��� �� | }� jj|�� d�D ]L�� � ��� � }t |�dk r`q>t� �fdd�|D ��r>t �td�� ��q>d S )Ns pretxnchangegroups Unsupported hook type %r)�start� c 3 s"