[PATCH 1 of 2 V5] test-archive: gracefully handle HTTPErrors on get-with-headers

Kevin Bullock kbullock+mercurial at ringworld.org
Sat Feb 23 21:33:21 CST 2013


On 17 Feb 2013, at 5:14 PM, Angel Ezquerra wrote:

> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1360141605 -3600
> # Node ID 2f7b559540108a021cba31c0c7affa011ef119cc
> # Parent  013fcd112f13f31a35ea6a40d8cd1c6923cdaf20
> test-archive: gracefully handle HTTPErrors on get-with-headers
> 
> This avoids pritting out a traceback when a get-with-headers call causes hgweb
> to respond with an HTTPError code.

That's one of two things you did in this patch. The other was optionally adding the 'file' argument to the request string. This should be split up.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list