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

Re: [subversion-dev] Children knowing about their parents

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-06-06 12:34:13 CEST

On Tue, 6 Jun 2000, Manoj Kasichainula wrote:
> The statement that children need to know about all their parents seems
> to have some bad implications to me.

I can't find this reference. ??

> If a child has n names, then it
> naturally needs to point to n parent nodes. But doesn't a file have to
> point to every version of its parent node that has the file as its
> child? And everytime you update a directory, you need to update all
> children of that directory to point to the new parent. This seems
> unscalable to me. Am I missing something obvious here?

The issue has come up, and I had thought it was last left as "there are no
parent pointers." Part of the reason for that is to prevent the need to
alter historical file revisions (to include the new parent).

I can see that scaling would also be a bit of a bummer.

AFAIK, we construct a new directory and point it at new/old children,
bubbling that on up. The old children are untouched; they just happen to
be reachable via a new path.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:05 2006

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