##// END OF EJS Templates
commands, i18n: avoid untranslated strings as message parameters
Wagner Bruna -
r8008:36924a47 default
parent child Browse files
Show More
@@ -2829,8 +2829,10 b' def tag(ui, repo, name1, *names, **opts)'
2829 if not repo.tagtype(n):
2829 if not repo.tagtype(n):
2830 raise util.Abort(_('tag \'%s\' does not exist') % n)
2830 raise util.Abort(_('tag \'%s\' does not exist') % n)
2831 if repo.tagtype(n) != expectedtype:
2831 if repo.tagtype(n) != expectedtype:
2832 raise util.Abort(_('tag \'%s\' is not a %s tag') %
2832 if expectedtype == 'global':
2833 (n, expectedtype))
2833 raise util.Abort(_('tag \'%s\' is not a global tag') % n)
2834 else:
2835 raise util.Abort(_('tag \'%s\' is not a local tag') % n)
2834 rev_ = nullid
2836 rev_ = nullid
2835 if not message:
2837 if not message:
2836 message = _('Removed tag %s') % ', '.join(names)
2838 message = _('Removed tag %s') % ', '.join(names)
General Comments 0
You need to be logged in to leave comments. Login now