Arbejdsglæde
Arbejdsglæde

Reputation: 14098

Setting up TortoiseHg on a server

I would like to setup tortoisehg on my server. I did it.

I have setup webserver that tortoisehg provide. But I would like to manage users that can use repositories (can read/write) how I can setup users with their password?

I very like this functionality like VisualSVN server does http://www.visualsvn.com/server/. Is it possible to have something similar with tortoisehg?

Upvotes: 1

Views: 2309

Answers (1)

Helgi
Helgi

Reputation: 5436

When I was doing it on a Windows Server 2000, I didn't want to mess with Apache, and ended up using this HOWTO for setting up hg serve behind nginx:

https://www.mercurial-scm.org/wiki/HgServeNginx

The trick here is that you need to run hg serve as a Windows Service. You'll need srvany or something like it for doing that.

This only allows a config where everyone can read, but only authenticated users can push, or, if you remove limit_except GET, where only authenticated users can read and push. More detailed permission schemes require additional setup.

Upvotes: 2

Related Questions