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