How do I set up Mercurial and hgweb on IIS?

前端 未结 10 1850
梦谈多话
梦谈多话 2020-11-28 18:01

I\'ve been looking all over for decent instructions on how to get hgweb working on IIS but I haven\'t found much of worth.

There\'s this \"step by step\" on the Merc

10条回答
  •  广开言路
    2020-11-28 18:39

    It seems since Mercurial 1.5.2 was released, these tutorials don't work exactly right. For one thing, hgwebdir.cgi has been removed, and is now replaced with hgweb.cgi.

    The instructions that worked best for me is at eworldui.net:

    http://www.eworldui.net/blog/post/2010/04/08/Setting-up-Mercurial-server-in-IIS7-using-a-ISAPI-module.aspx

    Those instructions are meant for IIS 7 or greater. If you're setting this up on IIS 6, I wrote up similar instructions geared toward Win2k3 and IIS 6.0:

    http://partialclass.blogspot.com/2010/05/setting-up-mercurial-server-on-win2k3.html

    UPDATE: Shortly after getting this working I learned that BitBucket changed their pricing scheme to offer free, unlimited, private hosting: https://bitbucket.org/. I would've opted for that in a heartbeat when I was originally working on this project.

提交回复
热议问题