[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: Branko Čibej <brane_at_xbc.nu>
Date: 2002-11-03 17:21:52 CET

cmpilato@collab.net wrote:

>Well, you have the problem of how to deal with people checking out a
>subdirectory of the directory with the defaults. Say I have this in
>my repos:
>
> /trunk (ignore *.o, *.lo, *.pyc)
> /subdir (ignore *.elc)
>
>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?
>
>There's just a whole can of worms involved in this (unfortunately,
>cause I think it'd be a great feature).
>
>
This particular can of worms can only closed by way of a change in the
repository schema. The inheritance must be made explicit, while at the
same time not requiring an O(n) tree traversal every time an inherited
property is changed. In other words, an object's proplist must contain
links to the inherited values.

The problem -- and its solution -- is really quite similar to ACL
inheritance, except that properties are versioned and ACLs aren't.

Dare I utter that most despised phrase, "post-1.0?"

    Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 3 17:23:03 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.