Show More
@@ -2515,6 +2515,8 b' def tag(ui, repo, name, rev_=None, **opt' | |||
|
2515 | 2515 | rev_ = opts['rev'] |
|
2516 | 2516 | message = opts['message'] |
|
2517 | 2517 | if opts['remove']: |
|
2518 | if not name in repo.tags(): | |
|
2519 | raise util.Abort(_('tag %s does not exist') % name) | |
|
2518 | 2520 | rev_ = nullid |
|
2519 | 2521 | if not message: |
|
2520 | 2522 | message = _('Removed tag %s') % name |
General Comments 0
You need to be logged in to leave comments.
Login now