RE: preventing commits (this is *not* a classic hook question)
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 20 Mar 2012 09:23:16 -0400
> Hello,
Create a project in your repository that contains a config file of some type. Give write access to this path only to those people that you want to be able to enable/disable checkins.
Create a working copy of said config project and check it out on your svn server. Have your hook script update the working copy (or perhaps have a cron job that updates this wc every 60 seconds or whatever) and read this config file to determine if commits are allowed.
All the users will have to do is edit the config file and commit it.
BOb
>
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.