Show More
@@ -743,10 +743,7 b' def commit(ui, repo, *pats, **opts):' | |||||
743 | The HGEDITOR or EDITOR environment variables are used to start an |
|
743 | The HGEDITOR or EDITOR environment variables are used to start an | |
744 | editor to add a commit comment. |
|
744 | editor to add a commit comment. | |
745 | """ |
|
745 | """ | |
746 | if opts['text']: |
|
746 | message = opts['message'] | |
747 | ui.warn(_("Warning: -t and --text is deprecated," |
|
|||
748 | " please use -m or --message instead.\n")) |
|
|||
749 | message = opts['message'] or opts['text'] |
|
|||
750 | logfile = opts['logfile'] |
|
747 | logfile = opts['logfile'] | |
751 |
|
748 | |||
752 | if message and logfile: |
|
749 | if message and logfile: | |
@@ -2188,7 +2185,6 b' table = {' | |||||
2188 | ('I', 'include', [], _('include names matching the given patterns')), |
|
2185 | ('I', 'include', [], _('include names matching the given patterns')), | |
2189 | ('X', 'exclude', [], _('exclude names matching the given patterns')), |
|
2186 | ('X', 'exclude', [], _('exclude names matching the given patterns')), | |
2190 | ('m', 'message', "", _('use <text> as commit message')), |
|
2187 | ('m', 'message', "", _('use <text> as commit message')), | |
2191 | ('t', 'text', "", _('commit message (deprecated: use -m)')), |
|
|||
2192 | ('l', 'logfile', "", _('read the commit message from <file>')), |
|
2188 | ('l', 'logfile', "", _('read the commit message from <file>')), | |
2193 | ('d', 'date', "", _('record datecode as commit date')), |
|
2189 | ('d', 'date', "", _('record datecode as commit date')), | |
2194 | ('u', 'user', "", _('record user as commiter'))], |
|
2190 | ('u', 'user', "", _('record user as commiter'))], |
General Comments 0
You need to be logged in to leave comments.
Login now