# HG changeset patch # User Yuya Nishihara # Date 2018-04-01 15:02:36 # Node ID 450de9cb0b362e022f717adebc20d82010e1ccd4 # Parent 2095331ff926893a45fc7aadd0d758e4bbe67a21 hgweb: wrap {tags} by hybridlist() This one is a list of simple values, which can be a hybrid list. diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -238,7 +238,7 @@ def renamelink(fctx): 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)]