# 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 -r 25af3f17ce95 -r abd70a92e06f mercurial/commands.py --- 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')), diff -r 25af3f17ce95 -r abd70a92e06f tests/test-help.out --- 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