##// END OF EJS Templates
hgweb: Changed file revision page to list format syntax
Josef "Jeff" Sipek -
r978:ea67e5b3 default
parent child Browse files
Show More
@@ -398,20 +398,19 b' class hgweb:'
398 cs = cl.read(cl.node(lr))
398 cs = cl.read(cl.node(lr))
399 t = float(cs[2].split(' ')[0])
399 t = float(cs[2].split(' ')[0])
400
400
401 l.insert(0, self.t("filelogentry",
401 l.insert(0, {"parity": parity,
402 parity = parity,
402 "filenode": hex(n),
403 filenode = hex(n),
403 "filerev": i,
404 filerev = i,
404 "file": f,
405 file = f,
405 "node": hex(cn),
406 node = hex(cn),
406 "author": cs[1],
407 author = cs[1],
407 "date": t,
408 date = t,
408 "parent": self.parents("filelogparent",
409 parent = self.parents("filelogparent",
410 fl.parents(n), fl.rev, file=f),
409 fl.parents(n), fl.rev, file=f),
411 desc = cs[4]))
410 "desc": cs[4]})
412 parity = 1 - parity
411 parity = 1 - parity
413
412
414 yield l
413 for e in l: yield e
415
414
416 yield self.t("filelog",
415 yield self.t("filelog",
417 file = f,
416 file = f,
@@ -16,6 +16,6 b''
16
16
17 <h2>#file# revision history</h2>
17 <h2>#file# revision history</h2>
18
18
19 #entries#
19 #entries%filelogentry#
20
20
21 #footer#
21 #footer#
General Comments 0
You need to be logged in to leave comments. Login now