diff 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
line wrap: on
line diff
--- a/hgext/record.py
+++ b/hgext/record.py
@@ -371,11 +371,12 @@ def record(ui, repo, *pats, **opts):
     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]...')),
+}