[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-11-01 18:18:43 CET

On Thu, 2002-10-31 at 12:14, Karl Fogel wrote:
> Oh! That's different. Hmmm, you know, I kind of like it.

Okay, a little more thinking on the subject came up with a few related
ideas. Here's a quick brain dump:

- I'm thinking that the name "inheritableprops" was a poor choice, since
the idea of real inheritable properties is interesting, and might exist
someday in the future. These are cheap clones of properties, so
"cloneprops" seems more apt.

- Two properties instead of a single one: 'svn:clonepropsdir' and
'svn:clonepropsfile', for cloning properties to created directories and
created files, respectively, which would just affect 'svn mkdir' and
'svn add'. After thinking this through, I didn't see a whole lot of
reason to limit this to just directory creation, since "files have
feelings too". ;-) Maybe "svn:clonepropsmkdir" and "svn:clonepropsadd"
are better names?

- Directories could add 'svn:clonepropsdir' and 'svn:clonepropsfile' to
their "svn:clonepropsdir" property, causing them to propagate down the
tree as you go (or not, if you don't want them to). :-)

- Should 'svn mkdir' (and 'svn add') have a switch to disable cloning of
properties? Should cloning even be the default behavior (ie. should
there be a switch to *enable* cloning)? Which use case seems more
likely?

That's it for now. Since people seem interested, I guess I'll start
learning how to implement this (note to self: having an idea means you
just signed up to implement it). ;-)

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

Received on Fri Nov 1 18:18:23 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.