[PATCH 0 of 2] small patches for hgweb

Dirkjan Ochtman dirkjan at ochtman.nl
Sat Jan 3 14:47:57 CST 2009


On 03/01/2009 01:34, Mark Edgington wrote:
> A couple of small patches for hgweb...

I've pushed these:

changeset:   7565:bbcd2dea19fe
user:        Mark Edgington <edgimar at gmail.com>
date:        Sat Jan 03 20:50:06 2009 +0100
summary:     hgweb: send HTTP unauthorized error when denying pull

changeset:   7564:b663b5563de7
user:        Mark Edgington <edgimar at gmail.com>
date:        Sat Jan 03 20:33:19 2009 +0100
summary:     hgweb: allow static content when deny_read denies access

Please note that we prefer an 80-character or lower line length. You 
violated this a few times in your allow_read/deny_read patch, which I've 
now mostly fixed up. Also, it appears that there are no tests at all for 
the behaviors you introduced (you also forgot to fix up the test suite 
for the unauthorized patch; I've done this now), so it would be good if 
you can come up with a patch for this whole thing.

Thanks for all the work!

Dirkjan


More information about the Mercurial-devel mailing list