Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 761:0fb498458905
Change all references to -t --text commit message to -m and --message.
author | Andrew Thompson <andrewkt@aktzero.com> |
---|---|
date | Fri, 22 Jul 2005 15:59:13 +0100 |
parents | c5db9581bfa6 |
children | 312b4a10d862 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Jul 22 09:54:22 2005 +0100 +++ b/mercurial/commands.py Fri Jul 22 15:59:13 2005 +0100 @@ -460,7 +460,7 @@ def commit(ui, repo, *files, **opts): """commit the specified files or all outstanding changes""" - text = opts['text'] + text = opts['message'] or opts['text'] logfile = opts['logfile'] if not text and logfile: try: @@ -1101,7 +1101,7 @@ "^commit|ci": (commit, [('A', 'addremove', None, 'run add/remove during commit'), - ('m', 'text', "", 'commit message'), + ('m', 'message', "", 'commit message'), ('t', 'text', "", 'commit message (deprecated: use -m)'), ('l', 'logfile', "", 'commit text file'), ('d', 'date', "", 'date code'),