[PATCH] hgweb_mod: fix key error on file display

Christian Ebert blacktrash at gmx.net
Sun Jan 20 04:52:10 CST 2008


* Dirkjan Ochtman on Sunday, January 20, 2008 at 09:50:07 +0100
> Christian Ebert wrote:
>> # HG changeset patch
>> # User Christian Ebert <blacktrash at gmx.net>
>> # Date 1200798507 -3600
>> # Node ID 6e58ced7644ab291ca0771101f0c775059462820
>> # Parent  b9a830fa10f6d8d2407107530b5306124c8fc181
>> hgweb_mod: fix key error on file display
> 
> Argh, that's stupid. Could you also write a testcase for that? I don't 
> know why, but it wasn't caught by any of the current tests...

Actually this was just a quick and bad fix to avoid the
traceback.

Your patch a0e20a5eba3c also changes the behaviour of the "raw"
file call: it /downloads/ the file instead of displaying it.
Checked with Safari and w3m on MacOS X.

I have no clue about the web stuff, and my little fix was a shot
in the very dark, and more meant to point to the issue.

c
-- 
strangely, i became more bookish
and my home and study meant more to me
as i considered the circumstances of my death
--Iggy Pop, No Shit


More information about the Mercurial-devel mailing list