mercurial/hgweb/hgweb_mod.py
changeset 5886 dd1998dd6f3b
parent 5833 323b9c55b328
child 5889 209577095f20
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