On Jul 12, 2007, at 03:07, Pieter wrote:
> Ryan Schmidt wrote:
>
>> This shouldn't be too difficult. In the pre-commit hook, you'll
>> want to
>> run "svnlook changed" on the transaction, and for each line of
>> output,
>> see if it matches one of the things you want to disallow.
>>
>> Or you may be able to just write a configuration file for
>> svnperms.py to
>> do this for you.
>>
>> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/
>
> Thanks, but... err..., this is difficult for me, hehe I don't have
> a clue to
> do such a thing with Perl :-) Isn't there anybody who could help me
> a little
> bit with such a script?
Then have you looked into svnperms? All you would need to do there is
look at their example configuration file and see if you can use that
information to write a configuration file that meets your needs. And,
well, you would need to write a one-line hook script which calls
svnperms, and you'd need to install Python if you don't already have
it on your server.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 12 10:28:44 2007