# HG changeset patch # User Vadim Gelfer # Date 1147233373 25200 # Node ID abd70a92e06fab09932bd5e6b404a78a5c5e3d4f # Parent 25af3f17ce95d38fce90ec5012fa424a0befc870 hide deprecated undo command by making it an alias for debugundo. diff --git a/mercurial/commands.py b/mercurial/commands.py --- 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')), diff --git a/tests/test-help.out b/tests/test-help.out --- 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