##// END OF EJS Templates
fix traceback in hgweb when URL doesn't end in one of the archive specs...
fix traceback in hgweb when URL doesn't end in one of the archive specs If the last n charecters of the URL doesn't match an entry in archive_specs req.form never has a key 'type'. When achive() looks up 'type' in the form dict it causes a traceback rather than printing an error message.

File last commit:

r5930:c301f15c default
r6669:782dbbdf default
Show More
test-non-interactive-wsgi.out
12 lines | 235 B | text/plain | TextLexer
/ tests / test-non-interactive-wsgi.out
Dirkjan Ochtman
Don't try to determine interactivity if ui() called with interactive=False....
r5337 changeset: 0:61c9426e69fe
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: test
---- HEADERS
200 Script output follows
---- DATA
Dirkjan Ochtman
send conservatively capitalized HTTP headers
r5930 [('Content-Type', 'text/html; charset=ascii')]
Dirkjan Ochtman
Don't try to determine interactivity if ui() called with interactive=False....
r5337 ---- ERRORS