diff mercurial/osutil.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 5105b119edd2
children 0d513661d6c2
line wrap: on
line diff