hgext/record.py
changeset 40295 fa88170c10bb
parent 40293 c303d65d2e34
child 41768 aaad36b88298
--- a/hgext/record.py	Fri Oct 12 18:06:32 2018 +0200
+++ b/hgext/record.py	Fri Oct 12 18:49:11 2018 +0200
@@ -32,7 +32,7 @@
 
 @command("record",
          # same options as commit + white space diff options
-        [c for c in commands.table['^commit|ci'][1][:]
+        [c for c in commands.table['commit|ci'][1][:]
             if c[1] != "interactive"] + cmdutil.diffwsopts,
           _('hg record [OPTION]... [FILE]...'),
         helpcategory=command.CATEGORY_COMMITTING)
@@ -138,7 +138,7 @@
         (qrecord,
          # same options as qnew, but copy them so we don't get
          # -i/--interactive for qrecord and add white space diff options
-         mq.cmdtable['^qnew'][1][:] + cmdutil.diffwsopts,
+         mq.cmdtable['qnew'][1][:] + cmdutil.diffwsopts,
          _('hg qrecord [OPTION]... PATCH [FILE]...'))
 
     _wrapcmd('qnew', mq.cmdtable, qnew, _("interactively record a new patch"))