Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is the hgweb.cgi script only in the source package or is it provided with the PPA?

If it's only in the source, do I have to take any other files for it to work, or just hgweb.cgi in the top level folder?

share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

I'm not using any PPA, but the standard package has it in /usr/share/doc/mercurial-common/examples/hgweb.cgi. There are a few alternatives as well (WSGI, etc), that all use a common backend.

share|improve this answer
    
thanks, this is a valid version of hgweb.cgi –  davidosomething Nov 22 '10 at 1:11
add comment

If anyone else is wondering, you need hgweb.cgi (either from the location in Tobu's answer) or from the source. You'll also need the template files and static file (contains logo and other images) from the templates folder (you don't need the hgweb folder, that is just source)

share|improve this answer
add comment

You can find the most up to date version of hgweb.cgi in the mercurial source repository over at http://selenic.com/repo

http://www.selenic.com/repo/hg-stable/raw-file/02aa06a021a0/hgweb.cgi

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.