We will need to host a series of Mercurial repositories. For security, we will use SSL encryption in Apache and htpasswd access (required). I tested out a single repository and used hgwebdir.cgi and used the hgweb.config to define the repository path and the allow_push and deny_push directives, but this test setup has only lead to more questions/problems:
I don't see any way to make a different allow/deny push group for each separate repository? ore importantly, I see no method to allow_pull deny_pull — which is quite important as each repository has a different set of users who should be allowed to read or write. We'd like to keep one htpasswd file for all users.