Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 5273:6e0f05f6f68d
hgweb: Show date of last change for each file in manifest
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 31 Aug 2007 11:18:29 +0200 |
parents | 46c5e1ee8aaa |
children | 05889b6b1468 |
line wrap: on
line diff
--- 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):