# HG changeset patch # User Yuya Nishihara # Date 1471750583 -32400 # 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 -r 9cb950276d27 -r 770128405002 mercurial/commands.py --- a/mercurial/commands.py Sun Aug 21 12:33:57 2016 +0900 +++ b/mercurial/commands.py Sun Aug 21 12:36:23 2016 +0900 @@ -3511,7 +3511,8 @@ 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')), ],