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

Re: apparent file locks when using WebDAV

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-03 11:46:30 CEST

On May 2, 2006, at 02:30, Jordan wrote:

> Does anyone know if this is being caused because my SVN instance is
> set to use lock-modify-unlock? How can I change this so that
> incremental adds can be committed by separate remote users without
> checking a doc out first? Would this be switching from lock-modify-
> unlock to copy-modify-merge? Where are the instructions on how to
> change that?

I... don't understand. Subversion is copy-modify-merge. If you want
to enforce a lock-modify-unlock model, the way to do so is to enforce
the use of the svn:needs-lock property. The way to do that is to 1)
distribute a config file to your users which sets the svn:needs-lock
property on all files, and 2) install a pre-commit hook rejecting
commits which do not obey that policy. If you did these two things,
then it should be obvious how to undo it to get back to allowing copy-
modify-merge...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 3 11:47:32 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.