debugrevspec: deprecate --optimize option
authorYuya Nishihara <yuya@tcha.org>
Sun, 21 Aug 2016 12:36:23 +0900
changeset 29914 770128405002
parent 29913 9cb950276d27
child 29915 548fa75cdb07
debugrevspec: deprecate --optimize option This option has been superseded by '--show-stage NAME', and will cause confusion in future patches.
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')),
      ],