Show More
@@ -184,9 +184,6 b' class hgweb:' | |||||
184 | self.maxfiles = int(self.repo.ui.config("web", "maxfiles", 10)) |
|
184 | self.maxfiles = int(self.repo.ui.config("web", "maxfiles", 10)) | |
185 | self.allowpull = self.repo.ui.configbool("web", "allowpull", True) |
|
185 | self.allowpull = self.repo.ui.configbool("web", "allowpull", True) | |
186 |
|
186 | |||
187 | def date(self, t): |
|
|||
188 | return util.datestr(t) |
|
|||
189 |
|
||||
190 | def listfiles(self, files, mf): |
|
187 | def listfiles(self, files, mf): | |
191 | for f in files[:self.maxfiles]: |
|
188 | for f in files[:self.maxfiles]: | |
192 | yield self.t("filenodelink", node=hex(mf[f]), file=f) |
|
189 | yield self.t("filenodelink", node=hex(mf[f]), file=f) | |
@@ -247,8 +244,8 b' class hgweb:' | |||||
247 | change2 = cl.read(node2) |
|
244 | change2 = cl.read(node2) | |
248 | mmap1 = mf.read(change1[0]) |
|
245 | mmap1 = mf.read(change1[0]) | |
249 | mmap2 = mf.read(change2[0]) |
|
246 | mmap2 = mf.read(change2[0]) | |
250 |
date1 = |
|
247 | date1 = util.datestr(change1[2]) | |
251 |
date2 = |
|
248 | date2 = util.datestr(change2[2]) | |
252 |
|
249 | |||
253 | c, a, d, u = r.changes(node1, node2) |
|
250 | c, a, d, u = r.changes(node1, node2) | |
254 | if files: |
|
251 | if files: |
General Comments 0
You need to be logged in to leave comments.
Login now