# HG changeset patch # User Matt Mackall # Date 1161816804 18000 # Node ID 2fb30a9d2b3b36e8e50f0cd72d14ebc882cc6014 # Parent fb031f47890f8fd5276513b9e4cf17373b625e01 Remove the undo command, deprecated pre-0.9 diff -r fb031f47890f -r 2fb30a9d2b3b mercurial/commands.py --- a/mercurial/commands.py Wed Oct 25 17:47:53 2006 -0500 +++ b/mercurial/commands.py Wed Oct 25 17:53:24 2006 -0500 @@ -2729,17 +2729,6 @@ 'bundle:' + fname) return postincoming(ui, repo, modheads, opts['update']) -def undo(ui, repo): - """undo the last commit or pull (DEPRECATED) - - (DEPRECATED) - This command is now deprecated and will be removed in a future - release. Please use the rollback command instead. For usage - instructions, see the rollback command. - """ - ui.warn(_('(the undo command is deprecated; use rollback instead)\n')) - repo.rollback() - def update(ui, repo, node=None, merge=False, clean=False, force=None, branch=None): """update or merge working directory @@ -3169,7 +3158,6 @@ [('u', 'update', None, _('update to new tip if changesets were unbundled'))], _('hg unbundle [-u] FILE')), - "debugundo|undo": (undo, [], _('hg undo')), "^update|up|checkout|co": (update, [('b', 'branch', '',