hg push crash

BERNIGAUD Côme bernigau at polytech.unice.fr
Mon May 17 12:28:00 UTC 2010


I got an update of mercurial on my archlinux, but the bug is still here.
I tried your patch, the same error came again.

Le 17/05/2010 11:42, Mads Kiilerich a écrit :
> On 05/17/2010 11:00 AM, BERNIGAUD Côme wrote:
>> So it's mean I gave the wrong password?
>
> I don't know.
>
> Investigating it a bit further it seems like the https connection 
> failed for some reason, and Mercurial stubbornly retries connecting.
>
> It seems like the recursion is caused by code introduced with 
> http://hg.intevation.org/mercurial/crew/rev/430e59ff3437 - which 
> however just copied the code from Pythons httplib.
>
> This (untested!) patch might avoid the recursion:
>
> --- a/mercurial/keepalive.py
> +++ b/mercurial/keepalive.py
> @@ -586,6 +586,7 @@
>      # use the modified response class
>      response_class = HTTPResponse
>      send = safesend
> +    auto_open = 0
>      getresponse = wrapgetresponse(httplib.HTTPConnection)
>
>
> /Mads



More information about the Mercurial mailing list