diff -r cda9d2b6beab -r 5c65ee4193e1 mercurial/templatekw.py --- 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."""