changeset 750:25986be9a1aa

Add tag -t, deprecate tag -m manifest hash: 893aa9732b500edfa6ffc099f76b00a88a5b1943
author mpm@selenic.com
date Thu, 21 Jul 2005 15:29:35 -0500
parents 7e4843b7efd2
children 0b245edec124
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 15:05:17 2005 -0500
+++ b/doc/hg.1.txt	Thu Jul 21 15:29:35 2005 -0500
@@ -342,7 +342,7 @@
     -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 @@
 
     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	Thu Jul 21 15:05:17 2005 -0500
+++ b/mercurial/commands.py	Thu Jul 21 15:29:35 2005 -0500
@@ -1185,7 +1185,8 @@
     "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]'),