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

Re: inheritable properties on directories?

From: Edward S. Marshall <esm_at_logic.net>
Date: 2002-10-31 18:28:46 CET

On Thu, 2002-10-31 at 11:06, cmpilato@collab.net wrote:
> If I check out /trunk/subdir instead of /trunk, how do I get those
> trickle-down properties? And even if I get them when I checkout, how
> do I get the updates to them if someone changes /trunk's ignore list?

You're thinking of a far more complicated approach than I am. ;-) I
wasn't thinking of an automatic trickle-down of properties (actually,
you'd probably just confuse the user, and you'd need to come up with a
way to "unset" an inherited property in a subdirectory)

Rather, I was just suggesting a modification of 'svn mkdir' behavior.
When creating a new directory, 'svn mkdir' would check the parent
directory for an 'svn:inheritableprops' property, and copy those
properties that are specified. After that, you're on your own; you can
modify the subdirectory's properties to your heart's content. Think in
terms of a short-hand for "svn mkdir ...; svn propset ...; etc", nothing
more complicated than that.

-- 
Edward S. Marshall <esm@logic.net>
http://esm.logic.net/

Received on Thu Oct 31 18:28:31 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.