comparison hgext/record.py @ 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 b2607267236d
children c9126c24e098
comparison
equal deleted inserted replaced
5039:c87de77a7d9f 5040:4f34d9b2568e
369 except OSError: 369 except OSError:
370 pass 370 pass
371 return cmdutil.commit(ui, repo, recordfunc, pats, opts) 371 return cmdutil.commit(ui, repo, recordfunc, pats, opts)
372 372
373 cmdtable = { 373 cmdtable = {
374 'record': 374 "record":
375 (record, [('A', 'addremove', None, 375 (record,
376 _('mark new/missing files as added/removed before committing')), 376 [('A', 'addremove', None,
377 ('d', 'date', '', _('record datecode as commit date')), 377 _('mark new/missing files as added/removed before committing')),
378 ('u', 'user', '', _('record user as commiter')), 378 ('d', 'date', '', _('record datecode as commit date')),
379 ] + commands.walkopts + commands.commitopts, 379 ('u', 'user', '', _('record user as commiter')),
380 _('hg record [FILE]...')), 380 ] + commands.walkopts + commands.commitopts,
381 } 381 _('hg record [OPTION]... [FILE]...')),
382 }