# HG changeset patch # User Yuya Nishihara # Date 2016-08-21 03:36:23 # Node ID 770128405002e895d94c92e449609ba33937ee11 # Parent 9cb950276d277e7b49aca81dc236f2dfc3ba4e11 debugrevspec: deprecate --optimize option This option has been superseded by '--show-stage NAME', and will cause confusion in future patches. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3511,7 +3511,8 @@ def debugrevlog(ui, repo, file_=None, ** numdeltas)) @command('debugrevspec', - [('', 'optimize', None, _('print parsed tree after optimizing')), + [('', 'optimize', None, + _('print parsed tree after optimizing (DEPRECATED)')), ('p', 'show-stage', [], _('print parsed tree at the given stage'), _('NAME')), ],