Mercurial > hg > mercurial-crew-with-dirclash
diff 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 |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2189,7 +2189,7 @@ def tag(ui, repo, name, rev_=None, **opt necessary. The file '.hg/localtags' is used for local tags (not shared among repositories). """ - if name in ['tip', '.']: + if name in ['tip', '.', 'null']: raise util.Abort(_("the name '%s' is reserved") % name) if rev_ is not None: ui.warn(_("use of 'hg tag NAME [REV]' is deprecated, "