diff mercurial/commands.py @ 1443:3a0b69ea5708

Remove deprecated commit -t option
author Matt Mackall <mpm@selenic.com>
date Mon, 24 Oct 2005 20:42:20 -0700
parents bf109779f48b
children f84ed9c6131d
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Oct 24 19:55:44 2005 -0700
+++ b/mercurial/commands.py	Mon Oct 24 20:42:20 2005 -0700
@@ -743,10 +743,7 @@
     The HGEDITOR or EDITOR environment variables are used to start an
     editor to add a commit comment.
     """
-    if opts['text']:
-        ui.warn(_("Warning: -t and --text is deprecated,"
-                  " please use -m or --message instead.\n"))
-    message = opts['message'] or opts['text']
+    message = opts['message']
     logfile = opts['logfile']
 
     if message and logfile:
@@ -2188,7 +2185,6 @@
           ('I', 'include', [], _('include names matching the given patterns')),
           ('X', 'exclude', [], _('exclude names matching the given patterns')),
           ('m', 'message', "", _('use <text> as commit message')),
-          ('t', 'text', "", _('commit message (deprecated: use -m)')),
           ('l', 'logfile', "", _('read the commit message from <file>')),
           ('d', 'date', "", _('record datecode as commit date')),
           ('u', 'user', "", _('record user as commiter'))],