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

Re: The Four Elements of Righteousness

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-07-18 20:52:31 CEST

On Thu, Jul 18, 2002 at 09:08:51AM -0500, Karl Fogel wrote:
> Branko Cibej <brane@xbc.nu> writes:
> > The reason for storing wc props separately was to hide them from
> > proplist, propedit, etc. I don't mind moving them to the svn:ra:
> > namespace, but they must still be hidden from the regular prop
> > handling functions.
>
> Well, it looks like with the "Even Simpler" solution I posted later,
> we wouldn't necessarily be moving them to another namespace at all.
> (Though if we did have to filter them from regular prop functions,
> that wouldn't be difficult).

All the wcprops are already in a different namespace (svn:ra:), so there
isn't a namespace move needed. All that is required is a filtering function
when we work with the properties.

However, I just realized that it is probably best to keep them separate.
Consider the following sequence of operations:

  * app asks for all properties of FOO
  * we return all props except the svn:ra: props
  * app makes a few changes
  * app writes properties back to FOO

Unless we perform even more work, we're going to lose the RA props.

So... forget that I mentioned the combination. The current scheme seems to
work all right for now.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 20:50:52 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.