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

Re: Son of DAV Questions

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-04 01:22:20 CET

On Thu, Jan 03, 2002 at 05:46:15PM -0600, Ben Collins-Sussman wrote:
> Greg Stein <gstein@lyra.org> writes:
>...
> > 5. [optimization] For each directory containing files, do a PROPFIND
> > of Depth:1 on that dir and collect the props for the children,
> > rather than doing a PROPFIND for each child.
> >
>
> Huh? This has nothing to do with the problem. The whole point is
> that the 3 dav-props are going to be embedded in the report, so we're

This was an *alternative*. If the props ARE NOT in the report, then this is
a way to get the props for large groups of files.

> not planning to do a PROPFIND on any children unless the report
> *explicitly* says to do so. That's how it works already.

I wasn't clear enough. Let's say your repository has the following files:

    /foo/file1
    /foo/file2
    /foo/file3
    /foo/file4

And the report says to fetch file1, file2, and file4. You could do a
PROPFIND on /foo with a Depth:1 and get the properties for all of the files
in one shot. The props for file2 will appear, but can be ignored.

It is a balancing act of "will props for the unwanted files outweigh the
overhead of multiple requests?"

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 Sat Oct 21 14:36:54 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.