Comments
Patch
@@ -1496,8 +1496,6 @@ def tag(repo, subset, x):
s = set([repo[tn].rev()])
else:
s = set([cl.rev(n) for t, n in repo.tagslist() if matcher(t)])
- if not s:
- raise util.Abort(_("no tags exist that match '%s'") % pattern)
else:
s = set([cl.rev(n) for t, n in repo.tagslist() if t != 'tip'])
return [r for r in subset if r in s]
@@ -437,8 +437,6 @@ we can use patterns when searching for t
$ log 'tag("literal:1.0")'
6
$ log 'tag("re:0..*")'
- abort: no tags exist that match '0..*'
- [255]
$ log 'tag(unknown)'
abort: tag 'unknown' does not exist