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__/record.cpython-39.pyc
a

�+�bJ�@s�dZddlmZddlmZddlmZmZmZm	Z	m
Z
iZe
�e�ZdZ
eddd�ejd	d
dd�D�ejed�ejd
�dd��Zdd�Zedged�ejdd�dd��Zdd�Zdd�Zdd�Zdd�ZdS) z�commands to interactively select changes for commit/qrefresh (DEPRECATED)

The feature provided by this extension has been moved into core Mercurial as
:hg:`commit --interactive`.�)�absolute_import)�_)�cmdutil�commands�error�
extensions�	registrarsships-with-hg-core�recordcCsg|]}|ddkr|�qS)��interactive�)�.0�crr�2/usr/lib64/python3.9/site-packages/hgext/record.py�
<listcomp>$�rs	commit|cir
Nshg record [OPTION]... [FILE]...)�helpcategorycOst|��st�td�d��d|d<ddi}|�|d��*tj||g|�Ri|��Wd�S1sf0YdS)	a}interactively select changes to commit

    If a list of files is omitted, all changes reported by :hg:`status`
    will be candidates for recording.

    See :hg:`help dates` for a list of formats valid for -d/--date.

    If using the text interface (see :hg:`help config`),
    you will be prompted for whether to record changes to each
    modified file, and for files with multiple changes, for each
    change to use. For each query, the following responses are
    possible::

      y - record this change
      n - skip this change
      e - edit this change manually

      s - skip remaining changes to this file
      f - record remaining changes to this file

      d - done, skip remaining changes and files
      a - record all changes to all remaining files
      q - quit, recording no changes

      ? - display help

    This command is not available when committing a merge.s)running non-interactively, use %s insteadscommitT�interactive�sexperimentalscrecordFr	N)rr�Abortr�configoverriderZcommit)�ui�repo�pats�opts�	overridesrrr�record!s%
�rcs^|ds |||g|�Ri|��St�d���fdd�}tj|||ddtjg|�Ri|��dS)Nr�mqcs�j||fi|��dS)N)Zrefresh�rrrr��mqrr�
committomqWszqrefresh.<locals>.committomqT)r�findr�dorecord�recordfilter)�origfnrrrrr!rrr�qrefreshQs
���r&�qrecord�&hg qrecord [OPTION]... PATCH [FILE]...T)rZ	inferrepocOstd|||g|�Ri|��S)zvinteractively record a new patch

    See :hg:`help qnew` & :hg:`help record` for more information and
    usage.
    �qnew��_qrecord)rr�patchrrrrr�qrecordes
r-cs�zt�d��Wn ty.t�td���Yn0|j�����fdd�}ddi}|�|d��>t	�
|�t	j||||dt	jg|�Ri|��Wd�n1s�0YdS)Nrs'mq' extension not loadedcs(d|d<�j||�g|�Ri|��dS)NFZ	checkname)�newr�r r,rrr!}sz_qrecord.<locals>.committomqrFr	)
rr"�KeyErrorrrrr ZcheckpatchnamerrZcheckunfinishedr#r$)Z
cmdsuggestrrr,rrr!rrr/rr+us*
���r+cOs>|dr$td|||g|�Ri|��S||||g|�Ri|��S)Nrr*)r%rrr,�argsrrrr�qnew�sr2cCszzt�d�}Wnty"YdS0t|jdddd�tjtd�ftd<td|jt	td��td|jt
td��dS)	Nrr)r
r(r's interactively record a new patchsqrefreshs'interactively select changes to refresh)rr"r0r-�cmdtabler�
diffwsoptsr�_wrapcmdr2r&)rr rrr�uisetup�s��r6cCs(t�|||�}|d�ddd|f�dS)Nr
�ir)rZwrapcommand�append)�cmd�tableZwrapfn�msg�entryrrrr5�sr5)�__doc__Z
__future__rZmercurial.i18nrZ	mercurialrrrrrr3ZcommandZ
testedwithr:r4ZCATEGORY_COMMITTINGrr&r-r+r2r6r5rrrr�<module>s8
��
(�
	

Youez - 2016 - github.com/yon3zu
LinuXploit