HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/self/root/proc/thread-self/root/lib64/python2.7/site-packages/hgext/amend.pyc
�
1�3\c
@@sdZddlmZddlmZddlmZmZmZm	Z	m
Z
dZiZe
j
e�Z
e
dddded	�fd
dded�fd
dded�fddded�fgejejejed�de
jde�d��ZdS(s�provide the amend command (EXPERIMENTAL)

This extension provides an ``amend`` command that is similar to
``commit --amend`` but does not prompt an editor.
i(tabsolute_import(t_(tcmdutiltcommandsterrortpycompatt	registrarsships-with-hg-coretamendtAt	addremoves9mark new/missing files as added/removed before committingtetedits invoke editor on commit messagestitinteractivesuse interactive modetntnotetsstore a note on the amends[OPTION]... [FILE]...thelpcategoryt	inferrepocO@s�tj|�}t|d�dkr=tjtd���n|j��v|j��c|jd�s�|jd�p�|dj	�|d<nt
|d<tj|||tj
|��SWdQXWdQXdS(	s�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.
    Ri�s*cannot store a note of more than 255 bytestlogfiletmessaget.RN(RtbyteskwargstlenRtAbortRtwlocktlocktgettdescriptiontTrueRt	_docommitt	strkwargs(tuitrepotpatstopts((s1/usr/lib64/python2.7/site-packages/hgext/amend.pyR!s

&
N(t__doc__t
__future__Rtmercurial.i18nRt	mercurialRRRRRt
testedwithtcmdtabletcommandtNonetwalkoptst
commitoptstcommitopts2tCATEGORY_COMMITTINGRR(((s1/usr/lib64/python2.7/site-packages/hgext/amend.pyt<module>s(l