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