comparison mercurial/commands.py @ 3795:bd7011246fab

Add "null" pseudo-tag pointing to nullid
author Brendan Cully <brendan@kublai.com>
date Tue, 05 Dec 2006 13:41:42 -0800
parents 8d603f8567ae
children a0d0d24c4e71
comparison
equal deleted inserted replaced
3794:630caaf29815 3795:bd7011246fab
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']: