[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: Edward S. Marshall <esm_at_logic.net>
Date: 2002-10-11 18:59:19 CEST

On Fri, 2002-10-11 at 02:54, Morten Ludvigsen wrote:
> 2. If I want to get an earlier revision of the file
> "/resource/slam.html" I MUST use the WebDAV/DeltaV protocol.

A low-tech way to handle this, if your application has sufficient
server-side influence, would also be to "svn cp ..." the revision you
want to a particular location, and just leave it alone. For example, you
could do much like the svn.collab.net repository with a trunk directory
for the main sources, and a tags directory containing simple copies of
each major revision you want to track.

> 3. If I want to get a list of files from the HEAD revision
> of the directory "/resource/" I SHOULD use the WebDAV/DeltaV protocol.
> (The directory listing Subversion supplies in response to a GET is
> implementation specific - so I should not rely on it).

Note that if you use the XML version of the output, it's a little more
sane (using something like "SVNIndexXSLT /svnindex.xsl" in httpd.conf),
but I don't think I've seen anyone guarantee that the XML output will
remain fixed at all either.

> 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.

-- 
Edward S. Marshall <esm@logic.net>
http://esm.logic.net/

Received on Fri Oct 11 18:59:54 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.