Mercurial > hg
changeset 5040:4f34d9b2568e
Update style of record's cmdtable to match mercurial/commands.py
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 01 Aug 2007 10:42:42 +0200 |
parents | c87de77a7d9f |
children | 49059086c634 |
files | hgext/record.py tests/test-record.out |
diffstat | 2 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/record.py Wed Aug 01 10:33:21 2007 +0200 +++ b/hgext/record.py Wed Aug 01 10:42:42 2007 +0200 @@ -371,11 +371,12 @@ return cmdutil.commit(ui, repo, recordfunc, pats, opts) cmdtable = { - 'record': - (record, [('A', 'addremove', None, - _('mark new/missing files as added/removed before committing')), - ('d', 'date', '', _('record datecode as commit date')), - ('u', 'user', '', _('record user as commiter')), - ] + commands.walkopts + commands.commitopts, - _('hg record [FILE]...')), - } + "record": + (record, + [('A', 'addremove', None, + _('mark new/missing files as added/removed before committing')), + ('d', 'date', '', _('record datecode as commit date')), + ('u', 'user', '', _('record user as commiter')), + ] + commands.walkopts + commands.commitopts, + _('hg record [OPTION]... [FILE]...')), +}