File: //proc/self/root/proc/thread-self/root/usr/lib64/python2.7/site-packages/hgext/amend.pyc
�
1�3\c
@@ s d Z d d l m Z d d l m Z d d l m Z m Z m Z m Z m
Z
d Z i Z e
j
e � Z
e
d d d d e d � f d
d d e d � f d
d d e d � f d d d e d � f g e j e j e j e d � d e
j d e �d � � Z d S( 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 ( t absolute_import( t _( t cmdutilt commandst errort pycompatt registrars ships-with-hg-coret amendt At addremoves9 mark new/missing files as added/removed before committingt et edits invoke editor on commit messagest it interactives use interactive modet nt notet s store a note on the amends [OPTION]... [FILE]...t helpcategoryt inferrepoc O@ s� t j | � } t | d � d k r= t j t d � � � n | j � �v | j � �c | j d � s� | j d � p� | d j � | d <n t
| d <t j | | | t j
| � � SWd QXWd QXd S( 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.
R i� s* cannot store a note of more than 255 bytest logfilet messaget .R N( R t byteskwargst lenR t AbortR t wlockt lockt gett descriptiont TrueR t _docommitt strkwargs( t uit repot patst opts( ( s1 /usr/lib64/python2.7/site-packages/hgext/amend.pyR ! s
&
N( t __doc__t
__future__R t mercurial.i18nR t mercurialR R R R R t
testedwitht cmdtablet commandt Nonet walkoptst
commitoptst commitopts2t CATEGORY_COMMITTINGR R ( ( ( s1 /usr/lib64/python2.7/site-packages/hgext/amend.pyt <module> s (l