Show More
@@ -172,7 +172,7 b' def rawindexentries(ui, repos, req, subd' | |||
|
172 | 172 | 'description_sort': "", |
|
173 | 173 | 'lastchange': d, |
|
174 | 174 | 'lastchange_sort': d[1] - d[0], |
|
175 | 'archives': [], | |
|
175 | 'archives': templateutil.mappinglist([]), | |
|
176 | 176 | 'isdirectory': True, |
|
177 | 177 | 'labels': templateutil.hybridlist([], name='label'), |
|
178 | 178 | } |
@@ -35,6 +35,7 b' from .. import (' | |||
|
35 | 35 | scmutil, |
|
36 | 36 | templatefilters, |
|
37 | 37 | templatekw, |
|
38 | templateutil, | |
|
38 | 39 | ui as uimod, |
|
39 | 40 | util, |
|
40 | 41 | ) |
@@ -63,7 +64,7 b' def archivelist(ui, nodeid, url=None):' | |||
|
63 | 64 | 'url': url, |
|
64 | 65 | }) |
|
65 | 66 | |
|
66 | return archives | |
|
67 | return templateutil.mappinglist(archives) | |
|
67 | 68 | |
|
68 | 69 | def up(p): |
|
69 | 70 | if p[0:1] != "/": |
General Comments 0
You need to be logged in to leave comments.
Login now