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 : |
o �]Lb� � @ sn d Z ddlmZ ddlZddlmZ ddlmZmZm Z m Z mZ i Ze � e�Z dZh d�Zdd � Zd d� ZdS )z+adds a new flag extras to commit (ADVANCED)� )�absolute_importN)�_)�commands�error� extensions� registrar�utils ships-with-hg-core> � close� topic� branch� source� amend_source� rebase_source� __touch-noise__� histedit_source� transplant_source� intermediate-sourcec C s8 t �tjdt�}|d }|�ddg td�td�f� d S )Ns commit� � s extras set 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 ��r c sJ t �|d�r |�� }G � �fdd�d|j���|_| ||g|�R i � ��S )N� unfilteredc s e Zd Z� ��fdd�Z� ZS )z_commit.<locals>.repoextrac s� �� d�}|D ]J}d|vrtd�}t�|| ��|�dd�\}}|s-td�}t�|| ��t�d|�r<td�}t�|��|tv rKtd�}t�|| ��||d |<