changeset 2241:abd70a92e06f

hide deprecated undo command by making it an alias for debugundo.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 09 May 2006 20:56:13 -0700
parents 25af3f17ce95
children 78ab05ef1339
files mercurial/commands.py tests/test-help.out
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue May 09 13:29:55 2006 -0700
+++ b/mercurial/commands.py	Tue May 09 20:56:13 2006 -0700
@@ -3096,7 +3096,7 @@
          [('u', 'update', None,
            _('update the working directory to tip after unbundle'))],
          _('hg unbundle [-u] FILE')),
-    "undo": (undo, [], _('hg undo')),
+    "debugundo|undo": (undo, [], _('hg undo')),
     "^update|up|checkout|co":
         (update,
          [('b', 'branch', '', _('checkout the head of a specific branch')),
--- a/tests/test-help.out	Tue May 09 13:29:55 2006 -0700
+++ b/tests/test-help.out	Tue May 09 20:56:13 2006 -0700
@@ -77,7 +77,6 @@
  tags       list repository tags
  tip        show the tip revision
  unbundle   apply a changegroup file
- undo       undo the last commit or pull (DEPRECATED)
  update     update or merge working directory
  verify     verify the integrity of the repository
  version    output version and copyright information
@@ -120,7 +119,6 @@
  tags       list repository tags
  tip        show the tip revision
  unbundle   apply a changegroup file
- undo       undo the last commit or pull (DEPRECATED)
  update     update or merge working directory
  verify     verify the integrity of the repository
  version    output version and copyright information