HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/hgext/__pycache__/amend.cpython-310.pyc
o

�]Lb��@s�dZddlmZddlmZddlmZmZmZdZ	iZ
e�e
�Zedddd	ed
�fddd	ed
�fddd	ed�fddd	ed�fddd	ed�fddded�fgejej
ejejed�ejdd�dd��Zd	S)z�provide the amend command (EXPERIMENTAL)

This extension provides an ``amend`` command that is similar to
``commit --amend`` but does not prompt an editor.
�)�absolute_import)�_)�cmdutil�commands�	registrarsships-with-hg-coresamend�As	addremoveNs9mark new/missing files as added/removed before committing�esedits invoke editor on commit messages�isinteractivesuse interactive mode�sclose-branchs7mark a branch as closed, hiding it from the branch list�sssecrets#use the secret phase for committing�nsnotesstore a note on the amends[OPTION]... [FILE]...T)�helpcategory�	inferrepoc	Os�t�|�|���G|���2|�d�s!|�d�p|d��|d<d|d<tj||g|�Ri|��Wd�Wd�S1sCwYWd�dS1sSwYdS)z�amend the working copy parent with all or specified outstanding changes

    Similar to :hg:`commit --amend`, but reuse the commit message without
    invoking editor, unless ``--edit`` was set.

    See :hg:`help commit` for more details.
    �logfile�message�.T�amendN)r�check_note_size�wlock�lock�get�descriptionr�	_docommit)�ui�repo�pats�opts�r�-/usr/lib/python3/dist-packages/hgext/amend.pyr s
$
R�r)�__doc__�
__future__r�mercurial.i18nr�	mercurialrrr�
testedwith�cmdtable�command�walkopts�
commitopts�commitopts2�commitopts3�CATEGORY_COMMITTINGrrrrr�<module>sJ

��������