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

Re: svn:needs-lock auto set

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2006-07-04 16:48:57 CEST

James Boulton wrote:
> I've searched the archives and can't find any reference to this. Is it possible
> to add support to automatically set the svn:needs-lock flag on all binary files
> added to a repository? If someone can point me in the right direction of where
> the mime type is set for newly added files I can add it in myself.

You have to use auto-props. I believe in future there will be
server-side config for auto-prop settings, but in the meanwhile you can
use a pre-commit-hook to ensure that if a file has a binary mime-type it
also has needs-lock set.

http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html#svn.advanced.props.auto

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jul 4 16:47:50 2006

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