hgweb: wrap {instabilities} by hybridlist()
This is a list of simple values, which can be a hybrid list.
--- a/mercurial/hgweb/webutil.py Tue Apr 03 22:55:33 2018 +0900
+++ b/mercurial/hgweb/webutil.py Tue Apr 03 22:58:33 2018 +0900
@@ -423,7 +423,8 @@
'phase': ctx.phasestr(),
'obsolete': ctx.obsolete(),
'succsandmarkers': succsandmarkers,
- 'instabilities': [{"instability": i} for i in ctx.instabilities()],
+ 'instabilities': templateutil.hybridlist(ctx.instabilities(),
+ name='instability'),
'whyunstable': whyunstable,
'branch': nodebranchnodefault(ctx),
'inbranch': nodeinbranch(repo, ctx),