Mercurial on IIS7 error when trying to clone repository

感情迁移 提交于 2019-12-11 04:36:22

问题


I have set Mercurial 1.51 up on a Hyper-V server running Windows 2008R2 and am trying to use IIS7 to serve the repositories. I followed these instructions which I had previously used when evaluating mercurial with success. All was going well I could see the repositories from with a browser but when I tried to clone the repository from the server I receive the following error:

requesting all changes

abort: HTTP Error 502: Bad Gateway

I am not sure if this is an issue with IIS or Hyper-V or Mercurial? Any suggestion much appreciated


回答1:


I noticed that tutorial did not instruct you to add the python IIS Handler Mapping. Take a look at this tutorial, specifically #3 under the IIS 7 section. That may help.

http://vampirebasic.blogspot.com/2009/06/running-mercurial-on-windows.html




回答2:


I was getting the same error, in my case the workaround was to check the use uncompressed transfer option in the clone dialog.



来源:https://stackoverflow.com/questions/2692393/mercurial-on-iis7-error-when-trying-to-clone-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!