o ]Lb @sdZddlmZddlmZddlmZmZmZdZ iZ e e Z e dddd ed fd d d ed fddd edfddd edfddd edfdddedfgej ej ejejede jddddZd S)zprovide the amend command (EXPERIMENTAL) This extension provides an ``amend`` command that is similar to ``commit --amend`` but does not prompt an editor. )absolute_import)_)cmdutilcommands registrarsships-with-hg-coresamendAs addremoveNs9mark new/missing files as added/removed before committingesedits invoke editor on commit messagesis interactivesuse interactive modes close-branchs7mark a branch as closed, hiding it from the branch listsssecrets#use the secret phase for committingnsnotesstore a note on the amends[OPTION]... [FILE]...T) helpcategory inferrepoc Ost||G|2|ds!|dp|d|d<d|d<tj||g|Ri|WdWdS1sCwYWddS1sSwYdS)zamend 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. logfilemessage.TamendN)rcheck_note_sizewlocklockget descriptionr _docommit)uirepopatsoptsr-/usr/lib/python3/dist-packages/hgext/amend.pyr s $ Rr)__doc__ __future__rmercurial.i18nr mercurialrrr testedwithcmdtablecommandwalkopts commitopts commitopts2 commitopts3CATEGORY_COMMITTINGrrrrrsJ