web view crashes when viewing repo with mq patches

timeless timeless at gmail.com
Wed Aug 19 02:06:11 CDT 2009


On Wed, Aug 19, 2009 at 4:57 AM, Greg Ward<greg-hg at gerg.ca> wrote:
> On Tue, Aug 18, 2009 at 9:44 PM, Greg Ward<greg-hg at gerg.ca> wrote:
>> [moving from user list]
>> Oooops.  Yes, this should be easy enough.  However, I should write a
>> test too.  So I probably won't finish this until tomorrow.
>
> ...and another thing: this means that web users might not benefit from
> tag caching at all, if the web user does not have write privileges to
> .hg.  I think this merits a warning, but it could get annoying.  I'll
> see how much it annoys me before sending a patch.

Just a random note about warnings. I have a script which is run in
response to web visitors, and as a result, I get hundreds of warnings
in apache's log of this form:
[Tue Aug 18 20:20:07 2009] [error] [client ...IP...] Not trusting file
/data/mxr-data/mozilla-central/mozilla-central/.hg/hgrc from untrusted
user timeless, group www-data

fwiw, the contents of that file are:
[paths]
default = http://hg.mozilla.org/mozilla-central

1. I'm glad it isn't shown to my users
2. It hasn't helped me fix anything since I have no idea what's
triggering it or what it means
3. It's merely wasting potentially megabytes of space in log files
4. spurious warnings are annoying (i consider the one that's flooding
my logs spurious)



More information about the Mercurial-devel mailing list