hgweb: wrap {tags} by hybridlist()
This one is a list of simple values, which can be a hybrid list.
--- a/mercurial/hgweb/webutil.py Mon Apr 02 00:00:29 2018 +0900
+++ b/mercurial/hgweb/webutil.py Mon Apr 02 00:02:36 2018 +0900
@@ -238,7 +238,7 @@
return templateutil.mappinglist([])
def nodetagsdict(repo, node):
- return [{"name": i} for i in repo.nodetags(node)]
+ return templateutil.hybridlist(repo.nodetags(node), name='name')
def nodebookmarksdict(repo, node):
return [{"name": i} for i in repo.nodebookmarks(node)]