Occasional http 500 (KeyError) errors on clone/pull/push

Bruce Cran bruce at cran.org.uk
Thu Nov 28 12:32:34 CST 2013


On 11/28/2013 5:08 PM, Simon King wrote:
> I'm curious about this comment - old clients should be able to talk to
> new server versions without problems. Or are you relying on thirdparty
> extensions which don't work with the newer versions?

I can't remember the exact problem but upgrading the server from 2.3.2 
to 2.5.1 caused a problem with subrepos for some people. However at that 
time I was still using hgwebdir.wsgi instead of hgweb.wsgi so maybe that 
caused the problem?

> A quick grep of the source code suggests that the 'lheads' command is
> part of the largefiles extension. Do you have largefiles enabled on
> some repositories and not others? Perhaps a client using largefiles is
> somehow connecting to an hgweb instance that isn't configured for it.

There are a couple of repositories with largefiles enabled, but they 
aren't the ones being cloned when the error occurs. Could somebody else 
working with those repositories cause other users' clients to generate 
errors?

-- 
Bruce


More information about the Mercurial mailing list