[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: needs-lock on specific file types by default

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2006-03-15 03:19:52 CET

taka torimoto wrote:
> Is there any way, like we do with svn:ignore, setting a property to
> automatically require locks on certain file types, as opposed to having to set
> needs-lock on them individually?
>
> i.e. Requiring locks on *.psd, *.fla, *.png throughout the project, without
> having to find every single file that is of that type, and setting them to be
> needs-lock

Yes, but on the client ONLY. (look at the config file)
The other way is to setup a pre-commit hook that checks if the svn:needs-lock is
properly set and denies commit otherwise.
(no, not chande the propery, just deny so that the user can change it; hooks are not
supposed to change the committed stuff directly)

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Mar 15 03:20:38 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.