Mercurial > hg
changeset 3304:98ec107ce723
hgweb: remove obsolete listfiles function
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 09 Oct 2006 23:46:05 -0500 |
parents | 488d3062d225 |
children | 0708bdb4987a |
files | mercurial/hgweb/hgweb_mod.py |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Mon Oct 09 23:23:25 2006 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Mon Oct 09 23:46:05 2006 -0500 @@ -59,12 +59,6 @@ if i in allowed or self.repo.ui.configbool("web", "allow" + i): yield {"type" : i, "extension" : spec[2], "node" : nodeid} - def listfiles(self, files, mf): - for f in files[:self.maxfiles]: - yield self.t("filenodelink", node=hex(mf[f]), file=f) - if len(files) > self.maxfiles: - yield self.t("fileellipses") - def listfilediffs(self, files, changeset): for f in files[:self.maxfiles]: yield self.t("filedifflink", node=hex(changeset), file=f)