mercurial/templatekw.py
changeset 20218 0c22257388d6
parent 20183 de7e6c489412
child 20520 5c65ee4193e1
--- a/mercurial/templatekw.py	Tue Nov 26 12:58:27 2013 -0800
+++ b/mercurial/templatekw.py	Mon Dec 23 14:14:31 2013 +0100
@@ -117,7 +117,8 @@
         if rev in latesttags:
             continue
         ctx = repo[rev]
-        tags = [t for t in ctx.tags() if repo.tagtype(t) == 'global']
+        tags = [t for t in ctx.tags()
+                if (repo.tagtype(t) and repo.tagtype(t) != 'local')]
         if tags:
             latesttags[rev] = ctx.date()[0], 0, ':'.join(sorted(tags))
             continue