2

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?

Gili
  • 86,244
  • 97
  • 390
  • 689

1 Answers1

3

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.

Helgi
  • 5,428
  • 1
  • 31
  • 48
  • @Gili, thanks for the RhodeCode hint! Replaced our HgWeb install with it and I'm happy (but yes, setup was a pain). – Lucero Jun 16 '12 at 00:38