Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 7311:de9c87fe1620
hgweb: move another utility function into the webutil module
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Mon, 03 Nov 2008 20:31:53 +0100 |
parents | bd522d09d5e3 |
children | 2dc868712dcc |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Mon Nov 03 20:41:48 2008 +0100 +++ b/mercurial/hgweb/hgweb_mod.py Mon Nov 03 20:31:53 2008 +0100 @@ -270,12 +270,6 @@ if i in allowed or self.configbool("web", "allow" + i): yield {"type" : i, "extension" : spec[2], "node" : nodeid} - def listfilediffs(self, tmpl, files, changeset): - for f in files[:self.maxfiles]: - yield tmpl("filedifflink", node=hex(changeset), file=f) - if len(files) > self.maxfiles: - yield tmpl("fileellipses") - archive_specs = { 'bz2': ('application/x-tar', 'tbz2', '.tar.bz2', None), 'gz': ('application/x-tar', 'tgz', '.tar.gz', None),