representational problem in the schema
From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 2 Apr 2009 03:46:02 +0200
Hey Hyrum,
I'm trying to work out the discrepancy in how we handle the COPIED
I should probably stop doing that. :-P
Consider the following BASE tree:
A
Next, I delete the B directory. So we create two rows in WORKING:
A/B, presence=not-present
All good. Now, I copy A/C_at_rev to A/B. Now we have something like:
A/B, copyfrom=blah
Now. Just given the above data, talk to me about A/B/foo.
<pause>
Well.... there are two possibilities:
1) A/B/foo represents the deletion of the BASE node
I've been thinking about the best way to represent this in our schema.
* leave it untouched, but interpret case (2) as distinguished using
But this feels a bit fragile. Something could come along and overwrite
So. Something fully orthogonal. New column, or record "deletion roots"
After consideration, I'm thinking a new presence value of
1) presence="base-deleted" means A/B/foo refers to the BASE
Everywhere we talk about not-present, we'd have to extend a bit, and
Oh, and since A/B "shadows" a BASE node, then we implicitly know that
Thoughts?
Cheers,
------------------------------------------------------
|
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.