hide deprecated undo command by making it an alias for debugundo.
--- 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