https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/hgext/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/hgext/__pycache__/commitextras.cpython-310.pyc
o

�]Lb�	�@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>
�close�topic�branch�source�amend_source�
rebase_source�__touch-noise__�histedit_source�transplant_source�intermediate-sourcecCs8t�tjdt�}|d}|�ddgtd�td�f�dS)Nscommit��sextrasset a changeset's extra valuess	KEY=VALUE)r�wrapcommandr�table�_commit�appendr)�ui�entry�options�r�4/usr/lib/python3/dist-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]J}d|vrtd�}t�||��|�dd�\}}|s-td�}t�||��t�d|�r<td�}t�|��|tvrKtd�}t�||��||d|<qt�|�j	|i|��S)	N�extra�=s4unable to parse '%s', should follow KEY=VALUE formatrs)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)
�getrr�
InputError�split�re�search�usedinternally�super�commit)�self�	innerpats�	inneropts�extras�raw�msg�k�v)�	__class__�opts�	repoextrarrr)<s.
��
�z!_commit.<locals>.repoextra.commit)�__name__�
__module__�__qualname__r)�
__classcell__r�r3r4)r2rr4;sr4)r�safehasattrrr2)�origr�repo�patsr3rr9rr7s
r)�__doc__�
__future__rr%�mercurial.i18nr�	mercurialrrrrr�cmdtable�command�
testedwithr'rrrrrr�<module>s


https://t.me/RX1948 - 2025