Can't find an answer to my exact question. We migrated to a different source control system and want to keep a read-only snapshot of the entire repository. No one should be able to commit any changes anywhere. Is there a way to do this?
+3
A:
Just update your authz file to
# give everyone read-only access to the entire repository
[reponame:/]
* = r
Michael Hackner
2010-03-09 18:05:42
A:
This solution works only for svnserve, but not for apache-powered subversion servers.
Stefan Brozinski
2010-03-18 16:45:39
A:
You can create a hook to do this:
repository/hooks/pre-commit
#!/bin/sh
echo "No more commit here - this is an archive branch"
exit 1
Romuald Brunet
2010-03-18 16:56:45