rebase: drop --style option
authorYuya Nishihara <yuya@tcha.org>
Sat, 21 Oct 2017 17:01:20 +0900
changeset 34963 ddf37b6b8c3d
parent 34962 a18eef03d879
child 34964 7ebf850d3166
rebase: drop --style option It existed from the very start, but I don't think the rebase command does support log-like templates.
hgext/rebase.py
--- a/hgext/rebase.py	Wed Aug 02 13:27:45 2017 +0900
+++ b/hgext/rebase.py	Sat Oct 21 17:01:20 2017 +0900
@@ -53,7 +53,6 @@
 )
 
 release = lock.release
-templateopts = cmdutil.templateopts
 
 # The following constants are used throughout the rebase module. The ordering of
 # their values must be maintained.
@@ -594,7 +593,7 @@
     ('t', 'tool', '', _('specify merge tool')),
     ('c', 'continue', False, _('continue an interrupted rebase')),
     ('a', 'abort', False, _('abort an interrupted rebase'))] +
-     templateopts,
+    cmdutil.formatteropts,
     _('[-s REV | -b REV] [-d REV] [OPTION]'))
 def rebase(ui, repo, **opts):
     """move changeset (and descendants) to a different branch