mercurial/commands.py
changeset 2238 25af3f17ce95
parent 2230 332950340788
child 2241 abd70a92e06f
equal deleted inserted replaced
2237:4a069064a39b 2238:25af3f17ce95
  2710     (DEPRECATED)
  2710     (DEPRECATED)
  2711     This command is now deprecated and will be removed in a future
  2711     This command is now deprecated and will be removed in a future
  2712     release. Please use the rollback command instead.  For usage
  2712     release. Please use the rollback command instead.  For usage
  2713     instructions, see the rollback command.
  2713     instructions, see the rollback command.
  2714     """
  2714     """
       
  2715     ui.warn(_('(the undo command is deprecated; use rollback instead)\n'))
  2715     repo.undo()
  2716     repo.undo()
  2716 
  2717 
  2717 def update(ui, repo, node=None, merge=False, clean=False, force=None,
  2718 def update(ui, repo, node=None, merge=False, clean=False, force=None,
  2718            branch=None, **opts):
  2719            branch=None, **opts):
  2719     """update or merge working directory
  2720     """update or merge working directory