debugrevspec: deprecate --optimize option
This option has been superseded by '--show-stage NAME', and will cause
confusion in future patches.
--- 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')),
],