changeset 29918:770128405002

debugrevspec: deprecate --optimize option This option has been superseded by '--show-stage NAME', and will cause confusion in future patches.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 21 Aug 2016 12:36:23 +0900
parents 9cb950276d27
children 548fa75cdb07
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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')),
      ],