Hi,

I am replacing PVCS with SVN at my company.
We currently use the Lock-Modify-Unlock policy. Realistically we need to.
Our files are of a propritory format, they are ASCII, but thier content can not be read by a humanbeing, only by our in-house application; which we also use to edit them.

Ok, so I read the SVN documentation, and figured out the following:

if files in a repository have the svn:needs-lock property set to yes, then you can not commit a file to the repository without first obtaining a lock. Additionally, a svn checkout gets you read-only files, this serves as a reminder to obtain a lock before you start editing a file.

How I achived the desired behavior with a client-side config:
If I use the commandline client to checkout files, and I place the following settings in~/.subversion/config

Code:
[miscellany]
enable-auto-props = yes
[auto-props]
* = svn:needs-lock=yes
Then everything works as desired.

Now, this is my question:
How do I configure a subversion server to set svn:needs-lock on all files in a repository? (The documentation drifts off-topic on this key point)
There is a conf file in each repository called svnserve.conf, but while this file uses similar syntax to~/.subversion/config, simply placing the above code in this file does not achive the desired results.

So can anyone help me out? How do I automatically assign properties to all files in a repository, using a server-side solution?

Thanks in advance