Well, I started with this tutorial.
After I’ve finished that I made the following additional changes on the server (Windows 2008):
- Configured IIS to use SSL;
- Disabled anonymous authentication for the site;
- Enabled Basic and Windows authentication for the site;
- Configured NTFS permissions on the repository folder.
Also need to add the following lines to your repository’s .hg\hgrc
file:
On the client-side I had to explicitly specify username and password.
[web]
allow_push = *