Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
5272:a0229e4e4b73 | 5273:6e0f05f6f68d |
---|---|
480 for f in fl: | 480 for f in fl: |
481 full, fnode = files[f] | 481 full, fnode = files[f] |
482 if not fnode: | 482 if not fnode: |
483 continue | 483 continue |
484 | 484 |
485 fctx = ctx.filectx(full) | |
485 yield {"file": full, | 486 yield {"file": full, |
486 "parity": parity.next(), | 487 "parity": parity.next(), |
487 "basename": f, | 488 "basename": f, |
488 "size": ctx.filectx(full).size(), | 489 "date": fctx.changectx().date(), |
490 "size": fctx.size(), | |
489 "permissions": mf.flags(full)} | 491 "permissions": mf.flags(full)} |
490 | 492 |
491 def dirlist(**map): | 493 def dirlist(**map): |
492 fl = files.keys() | 494 fl = files.keys() |
493 fl.sort() | 495 fl.sort() |