[PATCH] Fix traceback in hgweb when URL doesn't end in one of the archive specs
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri Jun 13 05:35:58 CDT 2008
Ali Saidi <saidi <at> eecs.umich.edu> writes:
> # HG changeset patch
> # User Ali Saidi <saidi <at> eecs.umich.edu>
> # Date 1213303035 14400
> # Node ID cc75b6b185dac57d3135582deec269d0d4ff7757
> # Parent d1a312daa5744614a4750cb7aacdbece4f6d8e3a
> 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.
I fixed up your commit message to have lines shorter than 80 characters and
pushed it to crew-stable as 782dbbdfb1d7. Thanks for noticing and fixing this!
Cheers,
Dirkjan
More information about the Mercurial-devel
mailing list