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

Re: Setting auto property svn:needs-lock on repository

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-12 02:05:53 CET

On Dec 11, 2006, at 15:50, Chen, John [Zhan] (GMIS Technology) wrote:

> I want to configure auto property on a server so that all files in the
> repository will have svn:needs-lock property.
> So far I have been able to configure the local config file on my
> machine
> to enable the svn:needs-lock property. However, I have several
> repositories stored on a windows server accessed through http and I
> haven't been able to activate the svn:needs-lock auto property. I
> configurated the Subversion config file on the server but when testing
> it by importing and then checkouting a project, I found that the
> svn:needs-lock property is not being added.
> Does the auto-props feature work for a server or with apache? Any
> advice would be greatly appreciated.

auto-props work only on the client side, not on the server side. Each
client needs to set up the auto-props feature in his or her client.

If you want to enforce this on the server side, you would write a pre-
commit hook which should reject the commit of any file that does not
have the properties you want.

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 12 02:06:40 2006

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.