comparison mercurial/hgweb/hgweb_mod.py @ 5886:dd1998dd6f3b

hgweb: remove some legacy code
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 18 Jan 2008 19:53:38 +0100
parents 323b9c55b328
children 209577095f20
comparison
equal deleted inserted replaced
5878:d39af2eabb8c 5886:dd1998dd6f3b
852 ('Content-disposition', 'attachment; filename=%s%s' % 852 ('Content-disposition', 'attachment; filename=%s%s' %
853 (name, extension))] 853 (name, extension))]
854 if encoding: 854 if encoding:
855 headers.append(('Content-encoding', encoding)) 855 headers.append(('Content-encoding', encoding))
856 req.header(headers) 856 req.header(headers)
857 archival.archive(self.repo, req.out, cnode, artype, prefix=name) 857 archival.archive(self.repo, req, cnode, artype, prefix=name)
858 858
859 # add tags to things 859 # add tags to things
860 # tags -> list of changesets corresponding to tags 860 # tags -> list of changesets corresponding to tags
861 # find tag, changeset, file 861 # find tag, changeset, file
862 862