diff -r 034a422aeaff -r 8a5ee6aa8870 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Apr 01 22:40:15 2018 +0900 +++ b/mercurial/hgweb/hgwebdir_mod.py Sun Apr 01 22:41:49 2018 +0900 @@ -172,7 +172,7 @@ 'description_sort': "", 'lastchange': d, 'lastchange_sort': d[1] - d[0], - 'archives': [], + 'archives': templateutil.mappinglist([]), 'isdirectory': True, 'labels': templateutil.hybridlist([], name='label'), }