Add tag -t, deprecate tag -m
manifest hash: 893aa9732b500edfa6ffc099f76b00a88a5b1943
--- a/doc/hg.1.txt
+++ b/doc/hg.1.txt
@@ -342,7 +342,7 @@ status [options] [files]::
-I, --include <pat> include directories matching the given patterns
-X, --exclude <pat> exclude directories matching the given patterns
-tag [-l -t <text> -d <datecode> -u <user>] <name> [revision]::
+tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]::
Name a particular revision using <name>.
Tags are used to name particular revisions of the repository and are
@@ -358,7 +358,7 @@ tag [-l -t <text> -d <datecode> -u <user
options:
-l, --local make the tag local
- -t, --text <text> message for tag commit log entry
+ -m, --text <text> message for tag commit log entry
-d, --date <datecode> datecode for commit
-u, --user <user> user for commit
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1185,7 +1185,8 @@ table = {
"tag":
(tag,
[('l', 'local', None, 'make the tag local'),
- ('t', 'text', "", 'commit text'),
+ ('m', 'text', "", 'commit message'),
+ ('t', 'text', "", 'commit message (deprecated)'),
('d', 'date', "", 'date code'),
('u', 'user', "", 'user')],
'hg tag [OPTION]... NAME [REV]'),