diff mercurial/hook.py @ 6669:782dbbdfb1d7

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.
author Ali Saidi <saidi@eecs.umich.edu>
date Fri, 13 Jun 2008 12:33:40 +0200
parents 9f76df0edb7d
children f67d1468ac50
line wrap: on
line diff