--- a/mercurial/hgweb.py Wed Aug 17 22:03:28 2005 -0500
+++ b/mercurial/hgweb.py Wed Aug 17 22:08:15 2005 -0500
@@ -398,20 +398,19 @@
cs = cl.read(cl.node(lr))
t = float(cs[2].split(' ')[0])
- l.insert(0, self.t("filelogentry",
- parity = parity,
- filenode = hex(n),
- filerev = i,
- file = f,
- node = hex(cn),
- author = cs[1],
- date = t,
- parent = self.parents("filelogparent",
+ l.insert(0, {"parity": parity,
+ "filenode": hex(n),
+ "filerev": i,
+ "file": f,
+ "node": hex(cn),
+ "author": cs[1],
+ "date": t,
+ "parent": self.parents("filelogparent",
fl.parents(n), fl.rev, file=f),
- desc = cs[4]))
+ "desc": cs[4]})
parity = 1 - parity
- yield l
+ for e in l: yield e
yield self.t("filelog",
file = f,
--- a/templates/filelog.tmpl Wed Aug 17 22:03:28 2005 -0500
+++ b/templates/filelog.tmpl Wed Aug 17 22:08:15 2005 -0500
@@ -16,6 +16,6 @@
<h2>#file# revision history</h2>
-#entries#
+#entries%filelogentry#
#footer#