changeset 1818:9bbc7b304c34

Make the deprecated rawcommit an alias of debugrawcommit. This way it doesn't show up in the non-debug help.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 01 Mar 2006 09:14:25 +0100
parents e02fea13c69d
children d657bfdc06c4
files mercurial/commands.py tests/test-help.out
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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