5694 ('l', 'local', None, _('make the tag local')), |
5694 ('l', 'local', None, _('make the tag local')), |
5695 ('r', 'rev', '', _('revision to tag'), _('REV')), |
5695 ('r', 'rev', '', _('revision to tag'), _('REV')), |
5696 ('', 'remove', None, _('remove a tag')), |
5696 ('', 'remove', None, _('remove a tag')), |
5697 # -l/--local is already there, commitopts cannot be used |
5697 # -l/--local is already there, commitopts cannot be used |
5698 ('e', 'edit', None, _('edit commit message')), |
5698 ('e', 'edit', None, _('edit commit message')), |
5699 ('m', 'message', '', _('use <text> as commit message'), _('TEXT')), |
5699 ('m', 'message', '', _('use text as commit message'), _('TEXT')), |
5700 ] + commitopts2, |
5700 ] + commitopts2, |
5701 _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')) |
5701 _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')) |
5702 def tag(ui, repo, name1, *names, **opts): |
5702 def tag(ui, repo, name1, *names, **opts): |
5703 """add one or more tags for the current or given revision |
5703 """add one or more tags for the current or given revision |
5704 |
5704 |