Show More
@@ -90,7 +90,7 b' class hgwebdir(object):' | |||||
90 | # top-level index |
|
90 | # top-level index | |
91 | elif not virtual: |
|
91 | elif not virtual: | |
92 | tmpl = self.templater(req) |
|
92 | tmpl = self.templater(req) | |
93 | self.makeindex(req, tmpl) |
|
93 | req.write(self.makeindex(req, tmpl)) | |
94 | return |
|
94 | return | |
95 |
|
95 | |||
96 | # nested indexes and hgwebs |
|
96 | # nested indexes and hgwebs | |
@@ -112,7 +112,7 b' class hgwebdir(object):' | |||||
112 | subdir = virtual + '/' |
|
112 | subdir = virtual + '/' | |
113 | if [r for r in repos if r.startswith(subdir)]: |
|
113 | if [r for r in repos if r.startswith(subdir)]: | |
114 | tmpl = self.templater(req) |
|
114 | tmpl = self.templater(req) | |
115 | self.makeindex(req, tmpl, subdir) |
|
115 | req.write(self.makeindex(req, tmpl, subdir)) | |
116 | return |
|
116 | return | |
117 |
|
117 | |||
118 | up = virtual.rfind('/') |
|
118 | up = virtual.rfind('/') | |
@@ -227,9 +227,9 b' class hgwebdir(object):' | |||||
227 | and "-" or "", column)) |
|
227 | and "-" or "", column)) | |
228 | for column in sortable] |
|
228 | for column in sortable] | |
229 |
|
229 | |||
230 |
re |
|
230 | return tmpl("index", entries=entries, subdir=subdir, | |
231 |
|
|
231 | sortcolumn=sortcolumn, descending=descending, | |
232 |
|
|
232 | **dict(sort)) | |
233 |
|
233 | |||
234 | def templater(self, req): |
|
234 | def templater(self, req): | |
235 |
|
235 |
General Comments 0
You need to be logged in to leave comments.
Login now