comparison mercurial/commands.py @ 2238:25af3f17ce95

undo: add "deprecated" message to output.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 09 May 2006 13:29:55 -0700
parents 332950340788
children abd70a92e06f
comparison
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