Mercurial: Why do I get a 404 error when pushing to a repository whose URL I can hit in a browser?

前端 未结 5 1590
灰色年华
灰色年华 2021-02-05 08:43

I have a Mercurial repository that I can see just fine if I navigate to it in a browser, but when I try to do a push, with my default path set to the same URL that I visit in th

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-05 09:02

    "content too large" is what I had. Go to the IIS logs and look for "404 13".

    To fix it, under IIS manager, go the the "Request Filtering" option, and then select the "Headers" tab.

    Then go to "Edit Feature Settings" on the right. Then pick a really big number for the "Maximum allowed content (Bytes)" field.

    This fixed my issue.

提交回复
热议问题