How do I give read-only anonymous access to cvs/svn repository?

Set the default access permissions of the project to public and allow Source Code to view permission for all or specific repositories to All users while restricting other permissions.

To give read-only anonymous access to cvs/svn repository within a project while still restricting write access, you could set the default access permissions of the project to public with Source Code view permission open to all users, while restricting other permissions to specific user classes.

The steps to set this up are as follows:
  1. Go to 'Project Admin' tab in the required project.
  2. Click Permissions in the left nav.
  3. Click on Default Access Permissions tab.
  4. Set Project Access Permissions as Public.
  5. Under Application Permissions, choose All users from the drop-down for Source Code View permission.
  6. For other application permissions, choose a user class based on your access requirement.

    Note: In Step 5 above, it is possible for you to choose whether you want to give View access to All users for all repositories or a specific repository.