Mercurial hgwebdir configuration URL

Posted by Jonathan Sternberg on Server Fault See other posts from Server Fault or by Jonathan Sternberg
Published on 2011-02-06T04:42:09Z Indexed on 2011/02/06 7:28 UTC
Read the original article Hit count: 529

Filed under:
|

I'm setting up an hgwebdir configuration for the first time with Mercurial on apache2. I can see the three repositories I've set up in the first page, and I've figured out how to modify their names so they don't resemble the directory path.

But when I click to go to one of the repositories, the URL becomes http://localhost/hg/hgweb.cgi/path/to/repos. I would like the directory to be http://localhost/hg/name instead as that is easier to remember for people who want to clone the repository.

Is there anyway to do that with hgwebdir?

© Server Fault or respective owner

Related posts about apache2

Related posts about mercurial