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

Re: SV: Accessing different revs via Apache?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-10-11 19:09:10 CEST

"Edward S. Marshall" <esm@logic.net> writes:

> > 4. If I want to get a list of files from the an earlier revision
> > of the directory "/resource/" I MUST use the WebDAV/DeltaV protocol.
>
> Again, combination of the above would technically do the job, but DeltaV
> sure seems like the way to go if you've got the time to do it right.

Yup... once you have the opaque URI that represents the (revision,
dir_path) pair, just do a PROPFIND of depth "1" on it. It will return
all immediate children and their properties.

That's how 'svn ls' works -- take a look at
libsvn_ra_dav/fetch.c:svn_ra_dav__get_dir().

This is also how a generic DAV browser, i.e. Nautilus, is able to
browse the HEAD of our repository. It's just doing a PROPFIND of
depth 1 on the public directory URI.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 11 19:11:10 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.