# HG changeset patch # User Yuya Nishihara # Date 2018-04-01 15:03:49 # Node ID 40a664bd06fa7dfe0b123ef64c41ab6771d0d653 # Parent 450de9cb0b362e022f717adebc20d82010e1ccd4 hgweb: wrap {bookmarks} by hybridlist() This is also a list of simple values. diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -241,7 +241,7 @@ def nodetagsdict(repo, node): return templateutil.hybridlist(repo.nodetags(node), name='name') def nodebookmarksdict(repo, node): - return [{"name": i} for i in repo.nodebookmarks(node)] + return templateutil.hybridlist(repo.nodebookmarks(node), name='name') def nodebranchdict(repo, ctx): branches = []