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

inheritable properties on directories?

From: Edward S. Marshall <esm_at_logic.net>
Date: 2002-10-31 17:35:01 CET

Hi,

Is there currently some mechanism for marking properties on a directory
as inheritable by subdirectories, ie. any new directory created will
have the parent's properties (I'm thinking along the lines of the sticky
bit under UNIX)? This could be a per-directory property, say
"svn:inheritableprops", that listed properties that should be propagated
to children (much like svn:keywords). An option to 'svn mkdir' would
probably be wanted to override the behavior.

The use case here is something like "svn:ignore" being set to "*.o" or
"*.pyc", and you wanting all directories you create under that one to
behave similarly. A further use would be for something like cmpilato's
idea from issue 808 for a directory index property; that's something
you'd almost definitely want to trickle down to subdirs, at least in a
web environment.

Assuming something like this would be desirable, are there any nasty
side-effects I'm not thinking of?

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

Received on Thu Oct 31 17:34:50 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.