Installing Mercurial on Windows Apache XAMPP Tutorial

 ̄綄美尐妖づ 提交于 2019-12-22 17:58:38

问题


After asking this question (XAMPP Mercurial installation on Windows Apache --> HgWebDir.cgi Script Error) and reading though the whole internet including this question (How do I get Mercurial's hgwebdir working on Windows?) and all its links for about 10 hours, I seem to not be able to find a solution. I begun with this tutorial https://www.mercurial-scm.org/wiki/HgWebDirStepByStep ... and I really don't want to install ancient versions of Mercurial. I got my windows-apache to run Python scripts, CGI-Scripts, publish them in the wild, but hgwebdir just won't work.

Question 1:

Can someone please enrich his personal blog with a tutorial on how to install MERCURIAL on a WINDOWS XAMPP installation and make it visible to the world? I guarantee a lot of pageviews, as this is not a trivial problem. And this would sincerely help a lot of other people I guess.

Question 2:

For example, even after browsing half a day through everywhere, I just cannot find out, which version of python I need to pair with the freshest version of mercurial, and I get the "magic number is wrong"-error. This would be my question, if noone has time to make up a nice blogpost. Sorry for being a bit frustrated.


回答1:


I recently encountered this problem - with the added complication of supporting TortoiseHG. I posted a tutorial on my blog describing how to host multiple Mercurial repositories on a Windows XP machine using XAMPP and TortoiseHG.

http://makinggames.ca/dev/version-control-mercurial-apache-tortoisehg/




回答2:


Okay, after all it was just a whole lot of directory-location-problems and a big version-problem (needed to use Python 2.6 with Mercurial 1.5.1). Got it working now. If I happen to write a full windows-guide, I'll add a comment.



来源:https://stackoverflow.com/questions/2680802/installing-mercurial-on-windows-apache-xampp-tutorial

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