Hi,
 
Vijay Peddamallu wrote:
> can restrict “svn delete” command to limited set of users?
Pre-commit hook that examines the pending transactions and rejects accordingly.
http://svnbook.red-bean.com/en/1.7/svn.ref.reposhooks.pre-commit.html

> If I lock source code on my name, can we apply a restriction that only I can 
> unlock it. Otherwise, admin?
 
Pre-unlock hook that examines the unlock request and restricts as required.
http://svnbook.red-bean.com/en/1.7/svn.ref.reposhooks.pre-unlock.html 

Note that svn's locking feature is not a write protection, but intended for 
serializing edits to files where individual changes cannot be merged - such as 
binary assets, images.

For that and the above, I have found that project policies work much better 
than technical restrictions you are asking for. Certainly in reasonably 
motivated professional environments.

Andreas

Reply via email to