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

Re: [PATCH] wc-metadata.sql - more doc strings

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 19 Feb 2010 12:40:31 -0500

On Fri, Feb 19, 2010 at 12:30, Philip Martin <philip.martin_at_wandisco.com> wrote:
> Philip Martin <philip.martin_at_wandisco.com> writes:
>
>> Greg Stein <gstein_at_gmail.com> writes:
>>
>>> revnum is NOT inheritable.
>>
>> At presnt working_node.parent_relpath says:
>>
>>   /* parent's local_relpath for aggregating children of a given parent.
>>      this will be "" if the parent is the wcroot. NULL if this is the
>>      wcroot node. */
>>   parent_relpath  TEXT,
>>
>> Does it make sense for a working node to be a wcroot?

Hmm. You're right. I'm not sure how you could possibly get a wcroot
into such a state. You're not allowed to delete it, nor copy/move
something over it. ... well, maybe we *could*, but it would be quite
weird to not do that from a checkout of the parent.

> Sent too early.  I meant to ask is it inheritable?

Nope. parent_relpath is intended to be a key, so that you can easily
find all nodes within a given directory. (which is also why we have
I_PARENT and friends).

Regarding inheriting repos_* values... I'm beginning to think that may
be more trouble than its worth. The idea was to avoid having to
compute them all the time, or to have to update them during a switch,
etc. But... having to compensate for their absence is now seeming to
be worse.

Cheers,
-g
Received on 2010-02-19 18:41:07 CET

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.