Mercurial > hg-stable
changeset 745:9246ae925d57
Add -m for commit and deprecate -t
Index: hg/doc/hg.1.txt
===================================================================
author | mpm@selenic.com |
---|---|
date | Thu, 21 Jul 2005 12:23:55 -0500 |
parents | 3d88f6dd1ed4 |
children | 9095e3456ea7 |
files | doc/hg.1.txt mercurial/commands.py |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/hg.1.txt Thu Jul 21 12:22:54 2005 -0500 +++ b/doc/hg.1.txt Thu Jul 21 12:23:55 2005 -0500 @@ -100,7 +100,7 @@ options: -U, --noupdate do not update the new working directory -commit [-A -t -l <file> -t <text> -u <user> -d <datecode>] [files...]:: +commit [-A -t -l <file> -m <text> -u <user> -d <datecode>] [files...]:: Commit changes to the given files into the repository. If a list of files is omitted, all changes reported by "hg status" @@ -112,7 +112,7 @@ Options: -A, --addremove run addremove during commit - -t, --text <text> use <text> as commit message + -m, --text <text> use <text> as commit message -l, --logfile <file> show the commit message for the given file -d, --date <datecode> record datecode as commit date -u, --user <user> record user as commiter
--- a/mercurial/commands.py Thu Jul 21 12:22:54 2005 -0500 +++ b/mercurial/commands.py Thu Jul 21 12:23:55 2005 -0500 @@ -1099,7 +1099,8 @@ "^commit|ci": (commit, [('A', 'addremove', None, 'run add/remove during commit'), - ('t', 'text', "", 'commit text'), + ('m', 'text', "", 'commit message'), + ('t', 'text', "", 'commit message (deprecated)'), ('l', 'logfile', "", 'commit text file'), ('d', 'date', "", 'date code'), ('u', 'user', "", 'user')],