diff -r edfb4d3b9672 -r 6defc74f3066 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Sat Aug 22 15:02:41 2015 -0700 +++ b/mercurial/hgweb/webcommands.py Sat Aug 22 15:12:52 2015 -0700 @@ -1078,7 +1078,7 @@ raise ErrorResponse(HTTP_NOT_FOUND, 'file(s) not found: %s' % file[0]) - mimetype, artype, extension, encoding = web.archive_specs[type_] + mimetype, artype, extension, encoding = web.archivespecs[type_] headers = [ ('Content-Disposition', 'attachment; filename=%s%s' % (name, extension)) ]