I work with Subversion and TortoiseSVN GUI. I need to block a repository (making it read-only) so that when I release a version no one can modify that repository. I create a new folder for every version I release.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The better way, IMHO, to do that is to :
Then, modify either pre-commit.pl script (see Subversion Repositories: Governing Commit Permissons, or modify access via Apache (here some examples : How to configure SVN web access for different write permissions?).
If you really want to tweak it easy, install a SVN Admin tool : SVN admin management GUI tool
In both cases, you won’t be able to set tag in read only mode …
Indeed, you might success writing a perl script, a post-commit HOOK, which will lock the tag, but I’m pretty sure that’s a bad idea.