equal
deleted
inserted
replaced
2187 they are stored as a file named ".hgtags" which is managed |
2187 they are stored as a file named ".hgtags" which is managed |
2188 similarly to other project files and can be hand-edited if |
2188 similarly to other project files and can be hand-edited if |
2189 necessary. The file '.hg/localtags' is used for local tags (not |
2189 necessary. The file '.hg/localtags' is used for local tags (not |
2190 shared among repositories). |
2190 shared among repositories). |
2191 """ |
2191 """ |
2192 if name in ['tip', '.']: |
2192 if name in ['tip', '.', 'null']: |
2193 raise util.Abort(_("the name '%s' is reserved") % name) |
2193 raise util.Abort(_("the name '%s' is reserved") % name) |
2194 if rev_ is not None: |
2194 if rev_ is not None: |
2195 ui.warn(_("use of 'hg tag NAME [REV]' is deprecated, " |
2195 ui.warn(_("use of 'hg tag NAME [REV]' is deprecated, " |
2196 "please use 'hg tag [-r REV] NAME' instead\n")) |
2196 "please use 'hg tag [-r REV] NAME' instead\n")) |
2197 if opts['rev']: |
2197 if opts['rev']: |