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

Re: svn:needs-lock inheritance

From: Steven Bakke <steven.bakke_at_amd.com>
Date: Thu, 17 Jan 2008 12:22:41 -0500

On Jan 17, 2008, at 11:32 AM, Roth, Pierre wrote:

> Hi,
>
> A question about the svn:needs-lock property :
> We manage source, docs and schematics under SVN. For schematics and
> docs
> directories, I've launch a 'svn propset svn:needs-lock 1 -R dir'
> What happens if one of my svn users adds a file into its working
> copy of
> this directory and then commits : Does this file inherits from this
> property automatically ?

It's meaningless to set needs-lock on a directory since you can only
lock
files, not directories. You are looking for auto-props which are set in
the subversion config file.

That said, I would find it useful if I could set auto-props on a per-
directory
basis. For instance, I'm assuming what you are looking for is to say
that all
files in a subdirectory should automatically get a needs-lock
property. I have
cases where I would like this ability.

-steve

>
>
> Thkx !
>
> Pierre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-17 18:23:48 CET

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.