Mercurial > hg
diff mercurial/hgweb/hgweb_mod.py @ 3304:98ec107ce723
hgweb: remove obsolete listfiles function
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 09 Oct 2006 23:46:05 -0500 |
parents | db9d2a624521 |
children | 0708bdb4987a |
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)