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

Re: Is that possible to enforce lock-modify-unlock model in a repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-19 21:04:02 CEST

On Aug 19, 2005, at 10:24 AM, Gregory Piņero wrote:

> What is this autoprop you mention, where do I get it? .... eh I
> can't quite reach google from here .. ;-)

Read about it in chapter 7 of the book. The steps you need to take are:

1. manually set svn:needs-lock on every file in your repository

2. have all your users configure their run-time settings (autoprops)
so that whenever they 'svn add' a new file, it automatically gets the
svn:needs-lock property.

3. possibly write a pre-commit hook script that enforces #2. That
is, reject any commits which add new files that *don't* have the
svn:needs-lock property.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 19 21:08:00 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.