Make the deprecated rawcommit an alias of debugrawcommit.
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 01 Mar 2006 09:14:25 +0100
changeset 1818 9bbc7b304c34
parent 1817 e02fea13c69d
child 1819 d657bfdc06c4
Make the deprecated rawcommit an alias of debugrawcommit. This way it doesn't show up in the non-debug help.
mercurial/commands.py
tests/test-help.out
--- 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,
--- 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