Where is hgweb.cgi in the Mac OS X deployment of Mercurial?

Solution 1:

http://mercurial.selenic.com/wiki/CGIinstall says under "Setup a cgi script to refer to your repository"

Copy the hgweb.cgi script from the mercurial sources to /var/www/cgi-hg/index.cgi

So it appears you need to download the source version to get that file.

Solution 2:

I know this thread is somewhat old but I figured I'd mention that I created a guide for setting up a Mercurial server in OS X 10.6. In this guide I also provide a link to the hgweb.cgi file that works in OS X for me.

http://www.popitandrockit.com/2010/05/mercurial-server-on-osx-106-snow.html