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

Re: apply svn:needs-lock to new files as they are added?

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-08 18:57:36 CEST

On Sep 8, 2005, at 18:42, plabonte@gmail.com wrote:

> Is there a hook script that will add this property to all newly
> added files?

No... what you would probably do though is to distribute to your
users a config file which has an auto-props definition which adds the
svn:needs-lock property to all files (or all .png files or whatever
you want), and then write a pre-commit hook which rejects commits
which do not have the property set on such files.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 8 18:59:34 2005

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.