# HG changeset patch # User Thomas Arendsen Hein # Date 1141200865 -3600 # Node ID 9bbc7b304c3477a99f3f9e43a794fbd59c40c62a # Parent e02fea13c69d127b00384f25a02369fc29fc13ba Make the deprecated rawcommit an alias of debugrawcommit. This way it doesn't show up in the non-debug help. diff -r e02fea13c69d -r 9bbc7b304c34 mercurial/commands.py --- a/mercurial/commands.py Wed Mar 01 09:09:50 2006 +0100 +++ b/mercurial/commands.py Wed Mar 01 09:14:25 2006 +0100 @@ -2544,7 +2544,7 @@ ('', 'remotecmd', '', _('specify hg command to run on the remote side'))], _('hg push [-f] [-e FILE] [-r REV]... [--remotecmd FILE] [DEST]')), - "rawcommit": + "debugrawcommit|rawcommit": (rawcommit, [('p', 'parent', [], _('parent')), ('d', 'date', '', _('date code')), @@ -2552,7 +2552,7 @@ ('F', 'files', '', _('file list')), ('m', 'message', '', _('commit message')), ('l', 'logfile', '', _('commit message file'))], - _('hg rawcommit [OPTION]... [FILE]...')), + _('hg debugrawcommit [OPTION]... [FILE]...')), "recover": (recover, [], _('hg recover')), "^remove|rm": (remove, diff -r e02fea13c69d -r 9bbc7b304c34 tests/test-help.out --- a/tests/test-help.out Wed Mar 01 09:09:50 2006 +0100 +++ b/tests/test-help.out Wed Mar 01 09:14:25 2006 +0100 @@ -64,7 +64,6 @@ paths show definition of symbolic path names pull pull changes from the specified source push push changes to the specified destination - rawcommit raw commit interface (DEPRECATED) recover roll back an interrupted transaction remove remove the specified files on the next commit rename rename files; equivalent of copy + remove @@ -106,7 +105,6 @@ paths show definition of symbolic path names pull pull changes from the specified source push push changes to the specified destination - rawcommit raw commit interface (DEPRECATED) recover roll back an interrupted transaction remove remove the specified files on the next commit rename rename files; equivalent of copy + remove