hgweb: remove obsolete listfiles function
authorMatt Mackall <mpm@selenic.com>
Mon, 09 Oct 2006 23:46:05 -0500
changeset 3304 98ec107ce723
parent 3303 488d3062d225
child 3305 0708bdb4987a
hgweb: remove obsolete listfiles function
mercurial/hgweb/hgweb_mod.py
--- 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)