Installing Mercurial on Windows Apache XAMPP Tutorial
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 n开发者_如何学Pythoneed 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.
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/
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.
精彩评论