I was following the tutorial here[0] to publish my hg repositories located on my Gentoo Box. After I set up hgweb.config, I executed hgwebdir.cgi it failed to execute. Please see hgwebdir.log file attached to this bug. After I searched on the web for a while, I realized that this is a known bug with mercurial. Pleasee see the link here[1] So I patched the package and the ebuild file. Please see patches for the package and the ebuild attached to this. Tested with 'ebuild test' and worked fine for me. [0] http://mercurial.selenic.com/wiki/PublishingRepositories#multiple [1] http://mercurial.selenic.com/bts/issue1778 Reproducible: Always Steps to Reproduce:
*** This bug has been marked as a duplicate of bug 308117 ***
Sorry, accidently pressed refresh.