Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Mercurial's hgwebdir working on Windows?

Tags:

These are the steps I took:

  • install apache 2.2.x
  • install TortoiseHg 0.7
  • copy hgwebdir.cgi, hgweb.config to cgi-bin
  • edit hgweb.config as appropriate
  • unzip $blah\TortoiseHg\library.zip to unzip $blah\TortoiseHg\library
  • sys.path.append("$blah\TortoiseHg\library") at the beginning of hgwebdir.cgi
  • move $blah\TortoiseHg\templates to $blah\TortoiseHg\library\templates

(Edit: I forgot to add that all these steps are laid out here.)

When I run http://localhost/cgi-bin/hgwebdir.cgi/ I can see my repository. If I try browse that repository, I'm told "DLL load failed: The specified module could not be found.". The last line of the walkback says "c:\program files\apache group\apache\cgi-bin\mercurial\osutil.pyc in __load()".

I've read about people having problems with pywintypes25.dll; this lives in "c:\program files\tortoisehg" and is already in my PATH.

What DLL couldn't be found?