| 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/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"