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

Re: RA->get_file

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-07 22:22:27 CET

On Thu, Feb 07, 2002 at 12:29:07PM -0600, Ben Collins-Sussman wrote:
> Hey gstein (and others),
> I'm changing the docstring promise on RA->get_file(). Specifically,
> it's going to return *all* properties to the caller, not just 'fs'
> properties.


> foreach prop in prophash:
> if prop has 'svn:custom:' prefix,
> strip prefix and store in newhash. /* 'normal' fs props */

Right. They just acquire that prefix as they travel over the wire.

> else
> if prop matches one of the DAV: entryprops,
> convert to correct svn:entry: name, store in newhash.
> if prop matches one of the DAV: wcprops,
> convert to correct svn:wc: name, store in newhash.
> Now, the first conversion going on -- the svn:entry: names -- is
> already in a single function. That function already existed, so now
> it has a second caller. But I'm confused about how to do the 'wcprop'
> conversions. Is that mapping already laid out somewhere? Heck, I'm
> not even fully aware of all the svn:wc: props that exist. Can I have
> some pointers?

There is only one wcprop for files. SVN_RA_DAV__LP_VSN_URL is the local
name, and DAV:checked-in (SVN_RA_DAV__PROP_CHECKED_IN) is the webdav name.

Otherwise, that stuff looks good. I wouldn't dig into the existing code too
much, or bend over to use it. Because of the evolution of the props stuff,
fetch.c needs an overall revisit.


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 Sat Oct 21 14:37:05 2006

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.