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

mod_dav_svn: view older revisions with browser

From: Mathias Hasselmann <mathias_at_taschenorakel.de>
Date: 2005-06-10 00:48:30 CEST

Hi,

The Subversion Book claims it would not be possible to use a browser to
view older revisions with mod_dav_svn (Look for "Can I view older
revisions?"). Well, but somehow that is not true, as I always can use
"/svn/repos/!svn/ver/${rev}/${path}" as resource locator to access some
old revision. At least if my resource is some file. If you try to access
some directory this URI gives you some error.

As the output of mod_dav_svn can be beautified via SVNIndexXSLT, it
appears quite useful to me, making older revisions available via browser
and mod_dav_svn. So the question is how to archive this:

- Document the internal "!svn/ver" syntax, fix the directory issue and
make this the official method for accessing old revisions via pure
mod_dav_svn and browser?
- Put the requested revision into the query-string (made some hackish
tests and this method also appears to work).
- Don't allow this feature as it is not specified by the WebDAV/DeltaV
specification.

If I'd do the dirty stuff, would there be any chance to get "viewing
older revisions with pure mod_dav_svn and browser" into the official
source tree? Or would I have to fork mod_dav_svn for this purpose?

Ciao,
Mathias

-- 
Mathias Hasselmann <mathias@taschenorakel.de>
http://taschenorakel.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 00:51:54 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.