changeset 5270 | 6e0f05f6f68d |
parent 5266 | 46c5e1ee8aaa |
child 5290 | 05889b6b1468 |
--- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -482,10 +482,12 @@ class hgweb(object): 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):