changeset 46182 | dc4564ee57dc |
parent 46165 | 41d695a08e90 |
child 46203 | 63f0e31af0e5 |
--- a/mercurial/commands.py Tue Dec 01 14:46:55 2020 +0100 +++ b/mercurial/commands.py Sun Dec 20 15:47:02 2020 +0100 @@ -7316,10 +7316,11 @@ for t, n in reversed(repo.tagslist()): hn = hexfunc(n) label = b'tags.normal' - tagtype = b'' - if repo.tagtype(t) == b'local': - label = b'tags.local' - tagtype = b'local' + tagtype = repo.tagtype(t) + if not tagtype or tagtype == b'global': + tagtype = b'' + else: + label = b'tags.' + tagtype fm.startitem() fm.context(repo=repo)