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?
Technically, nothing prevents you from having this line:
in
.hg/hgrc
of half of your repos, and: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.