Reputation: 90023
I'd like to host two different sets of private repositories off the same server/vhost, and have users see one set or another depending on their credentials.
Is there an easier way of doing this than hosting two separate hgweb instances with separate user accounts and config files?
Upvotes: 2
Views: 257
Reputation: 5436
Technically, nothing prevents you from having this line:
allow_read = user1 user2 user3
in .hg/hgrc
of half of your repos, and:
allow_read = user4 user5 user6
in the other half. Even to see the repo in the list, the user has to be in the allow_read
list.
However, managing this can prove cumbersome.
Upvotes: 3