# HG changeset patch # User Idan Kamara # Date 1306253842 -10800 # Node ID 9d4cabd189df3eeacbf2f445221de60c74339a94 # Parent 1df64ccef23e0a9816930576cc26f0d1deb017a8 record: alias qrecord to qnew -i/--interactive diff -r 1df64ccef23e -r 9d4cabd189df hgext/record.py --- a/hgext/record.py Tue May 24 19:17:19 2011 +0300 +++ b/hgext/record.py Tue May 24 19:17:22 2011 +0300 @@ -565,9 +565,13 @@ return cmdtable["qrecord"] = \ - (qrecord, mq.cmdtable['^qnew'][1], # same options as qnew + (qrecord, + # same options as qnew, but copy them so we don't get + # -i/--interactive for qrecord + mq.cmdtable['^qnew'][1][:], _('hg qrecord [OPTION]... PATCH [FILE]...')) + _wrapcmd('qnew', mq.cmdtable, qrecord, _("interactively record a new patch")) _wrapcmd('qrefresh', mq.cmdtable, qrefresh, _("interactively select changes to refresh"))