mercurial/templatekw.py
changeset 26486 8a732c322ca7
parent 26484 93c80e7ed8c8
child 27214 60af96494a76
--- a/mercurial/templatekw.py	Sun Aug 23 23:44:58 2015 -0400
+++ b/mercurial/templatekw.py	Mon Aug 24 23:30:17 2015 -0400
@@ -344,11 +344,7 @@
     """:latesttag: List of strings. The global tags on the most recent globally
     tagged ancestor of this changeset.
     """
-    repo, ctx = args['repo'], args['ctx']
-    cache = args['cache']
-    latesttags = getlatesttags(repo, ctx, cache)[2]
-
-    return showlist('latesttag', latesttags, separator=':', **args)
+    return showlatesttags(None, **args)
 
 def showlatesttags(pattern, **args):
     """helper method for the latesttag keyword and function"""