hide deprecated undo command by making it an alias for debugundo.
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3096,7 +3096,7 @@ table = {
[('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
+++ b/tests/test-help.out
@@ -77,7 +77,6 @@ list of commands (use "hg help -v" to sh
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 @@ list of commands (use "hg help -v" to sh
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