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

Re: svn:custom: gone?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-07-30 06:26:18 CEST

On Mon, Jul 29, 2002 at 05:30:14PM -0500, Ben Collins-Sussman wrote:
>...
> <D:response xmlns:S="svn:"
> xmlns:C="svn:custom:"
> xmlns:lp3="svn:"
> xmlns:lp1="DAV:"
> xmlns:lp2="http://apache.org/dav/props/">
>
> If you grep through the whole response, the "C:" namespace isn't used
> at all anymore! User-defined props like 'svn:ignore' are marshalled
> as <S:ignore>, and server-defined props are marshalled as
> <lp3:baseline-relative-path>.

$ svn pset my-prop hi-ben foo.c
$ svn commit -m "blah"
...
$ svn co http://whatever/

The svn:custom: prefix is used for *user* properties.

> Of course, this is useless to my RA->get_dir() routine. It sees both
> of these properties as existing in the same 'svn:' namespace. (Why
> the heck are we defining the 'svn:' namespace *twice* now?)

We aren't defining the *namespace* twice. We're defining two *prefixes*,
which is perfectly legit. Different parts of the system allocate prefixes,
so we end up with a couple. mod_dav supports tighter compression, but it
would change some of our constant text (which uses S:baz) to need a variable
part, based on the prefix assigned by the dav_xmlns code.

> ra_dav->get_dir() is simply trying to figure out if the resource has
> any user-defined props, and now it can't tell them apart from
> svn-specific liveprops anymore. :-(

I don't understand this part.

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 Tue Jul 30 06:23:43 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.