hg push of large changeset fails to Nginx with auth configured

Kyrra kyrra at nlworks.com
Thu Aug 18 20:31:21 UTC 2011


Poking around I found that I could probably just stick it in the
.hg/hgrc for the project.  I tried doing that and still got the same
results.  I also tried pushing from linux instead of windows and it
seems to behave the same.

========My .hg/hgrc for "testtest"======
[ui]
usehttp2 = true

[paths]
default = http://<user>:<password>@myserver.com/testtest/
==================================

-James


On Thu, Aug 18, 2011 at 3:00 PM, Kyrra <kyrra at nlworks.com> wrote:
> I verified I have hg 1.9.1 on both sides.  Nginx is sending 401 back
> right at the start of the POST from the client, but the client
> continues to send the request regardless of that response.
>
> Where should I put the "ui.usehttp2 = true"?  I tried putting it into
> the hgrc under the .hg dir in the project on the client side of
> things:
>
> [ui]
> ui.usehttp2 = true
>
> and I still got the same results.  I feel like I'm putting it in the
> wrong place.
>
> -James
>



More information about the Mercurial mailing list