##// 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:

r6336:4b0c9c67 default
r6669:782dbbdf default
Show More
test-revlog-packentry.out
7 lines | 335 B | text/plain | TextLexer
/ tests / test-revlog-packentry.out
adding foo
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding foo
created new head
rev offset length base linkrev nodeid p1 p2
0 0 0 0 0 b80de5d13875 000000000000 000000000000
1 0 24 0 1 0376abec49b8 000000000000 000000000000