mercurial/hgweb/hgweb_mod.py
changeset 5273 6e0f05f6f68d
parent 5269 46c5e1ee8aaa
child 5290 05889b6b1468
--- a/mercurial/hgweb/hgweb_mod.py	Fri Aug 31 01:21:31 2007 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Aug 31 11:18:29 2007 +0200
@@ -482,10 +482,12 @@
                 if not fnode:
                     continue
 
+                fctx = ctx.filectx(full)
                 yield {"file": full,
                        "parity": parity.next(),
                        "basename": f,
-                       "size": ctx.filectx(full).size(),
+                       "date": fctx.changectx().date(),
+                       "size": fctx.size(),
                        "permissions": mf.flags(full)}
 
         def dirlist(**map):