hgext/amend.py
changeset 40293 c303d65d2e34
parent 35025 3e549546a6e9
child 41128 126101284e04
equal deleted inserted replaced
40292:9c6473d2038b 40293:c303d65d2e34
    36      ('e', 'edit', None, _('invoke editor on commit messages')),
    36      ('e', 'edit', None, _('invoke editor on commit messages')),
    37      ('i', 'interactive', None, _('use interactive mode')),
    37      ('i', 'interactive', None, _('use interactive mode')),
    38      ('n', 'note', '', _('store a note on the amend')),
    38      ('n', 'note', '', _('store a note on the amend')),
    39     ] + cmdutil.walkopts + cmdutil.commitopts + cmdutil.commitopts2,
    39     ] + cmdutil.walkopts + cmdutil.commitopts + cmdutil.commitopts2,
    40     _('[OPTION]... [FILE]...'),
    40     _('[OPTION]... [FILE]...'),
       
    41     helpcategory=command.CATEGORY_COMMITTING,
    41     inferrepo=True)
    42     inferrepo=True)
    42 def amend(ui, repo, *pats, **opts):
    43 def amend(ui, repo, *pats, **opts):
    43     """amend the working copy parent with all or specified outstanding changes
    44     """amend the working copy parent with all or specified outstanding changes
    44 
    45 
    45     Similar to :hg:`commit --amend`, but reuse the commit message without
    46     Similar to :hg:`commit --amend`, but reuse the commit message without