I've read an enormous amount of articles but I seem to sidetrack more and more the more I try.
I'm trying to serve mercurial repos through HTTP. I'm using it together with redmine.
I've installed mercurial-server. I've set up a repo that I can't connect to from the outside. When I try to browse to that address I can see the index.html I put in the directory but when I use TortoiseHg and browse to the same address I get a 404. Am I supposed to point to a specific file? I've only tried pointing to the directory like so "http://www.example.com/hg/repo/".
Right now I'm only trying to pull the repo but I'd like to be able to push through HTTP temporarily if that is possible.
How will I set up user push access (through HTTPS) to the repo? Do the users have to exist on the linux machine? This is where the articles and tutorials confuse me as some mention "mercurial users" and others create own users on the machine serving the repo. I'd like to use the simplest scenario possible..
Please be as detailed as possible.. I'll greatly appreciate any help on the subject!
in the following working example you need a valid authentification to pull (see Require valid-user) and a valid authentication with a user of the group private to push (see Limit directive).
Don't forget to put 'allow_push' in either the global hgrc or the hosted repo's hgrc file.