equal
deleted
inserted
replaced
683 |
683 |
684 if type == "gz": |
684 if type == "gz": |
685 encoding = "gzip" |
685 encoding = "gzip" |
686 else: |
686 else: |
687 encoding = "x-bzip2" |
687 encoding = "x-bzip2" |
688 req.header([('Content-type', 'application/x-tar'), |
688 req.header([('Content-type', 'application/x-tar'), |
689 ('Content-disposition', 'attachment; filename=%s%s%s' % |
689 ('Content-disposition', 'attachment; filename=%s%s%s' % |
690 (name[:-1], '.tar.', type)), |
690 (name[:-1], '.tar.', type)), |
691 ('Content-encoding', encoding)]) |
691 ('Content-encoding', encoding)]) |
692 for fname in files: |
692 for fname in files: |
693 rcont = self.repo.file(fname).read(mf[fname]) |
693 rcont = self.repo.file(fname).read(mf[fname]) |