mercurial/templatekw.py
changeset 20520 5c65ee4193e1
parent 20218 0c22257388d6
child 20683 6cb419dd3703
--- a/mercurial/templatekw.py	Tue Feb 11 21:04:12 2014 -0800
+++ b/mercurial/templatekw.py	Tue Feb 11 21:40:33 2014 -0800
@@ -195,8 +195,12 @@
     """:bookmarks: List of strings. Any bookmarks associated with the
     changeset.
     """
+    repo = args['ctx']._repo
     bookmarks = args['ctx'].bookmarks()
-    return showlist('bookmark', bookmarks, **args)
+    hybrid = showlist('bookmark', bookmarks, **args)
+    for value in hybrid.values:
+        value['current'] = repo._bookmarkcurrent
+    return hybrid
 
 def showchildren(**args):
     """:children: List of strings. The children of the changeset."""