Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/hgweb_mod.py @ 3305:0708bdb4987a
hgweb: add file sizes to manifest browsing
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 10 Oct 2006 00:07:46 -0500 |
parents | 98ec107ce723 |
children | e6353b7b102a |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Mon Oct 09 23:46:05 2006 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Tue Oct 10 00:07:46 2006 -0500 @@ -430,9 +430,9 @@ continue yield {"file": full, - "filenode": hex(fnode), "parity": self.stripes(parity), "basename": f, + "size": ctx.filectx(full).size(), "permissions": mf.execf(full)} parity += 1