0

The repository is hosted on my PC. I use Apache with WAMP and TortoiseHG.

I have setup users and passwords and they are able to browse the repository in their browsers after entering their usernames and passwords.

The problem is that, when they try to clone the repository, they get an HTTP404 file note found error.

However, I can clone the repsoitory on my own PC using their credentials.

The problem must lie somehwere with the mercurial setup.

2 Answers 2

1

Solved

In the hgweb.cgi file, I replaced:

[web]
C:\CentralRepo\ = C:\CentralRepo\

with:

[paths]
Reports = C:\CentralRepo\Reports\

These two are supposed to be alternatives, but only the second option worked for me.

0
0

Is your apache accessible via the web (you can check using google translation services to access your machine)?

Do you use hgweb.cgi? Are there any restrictions set?

I remember that for cloning and pushing you need to explicitely set the permissions for hgweb.cgi. See http://mercurial.selenic.com/wiki/PublishingRepositories

2
  • Hi @Stephan, I do use hgweb.cgi. Thanks for your response. Please see my answer.
    – Geoffrey
    Feb 3, 2011 at 6:47
  • Great to see that I could be of help in a way :)
    – Stephan
    Feb 4, 2011 at 15:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .