Re: Suspending commits
From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-07-21 14:39:26 CEST
----- Original Message -----
Does anyone know of a way to globally remove commit rights to svn for a short period ?
I would like to prohibit anyone from committing new code during UAT testing (one day a week) without my prior authorisation. All users should remain free to update/checkout during this time, and would be free to commit outside of this timeframe.
Take a good look at svnperms.conf and svnperms.py: you can use them with a pre-commit hook, and set them to disable commit permissions for a while. Alternatively, simply set up a pre-commit hook that automatically fails and complains "busy doing UAT testing".
This is an archived mail posted to the Subversion Users mailing list.