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

Re: mod_dav_svn: view older revisions with browser

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-06-10 10:13:50 CEST

On Thursday 09 June 2005 18:48, Mathias Hasselmann wrote:
> 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.

The URLs are considered to be opaque, and therefore, you should not rely
on them. They may change in the future and we make no promise to keep
the same format.

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

Sorry, this has been discussed before, but the vast majority of the
developers are in consensus... mod_dav_svn's current "browsing"
capabilities are as far as it goes. If you want additional browsing
features, use one of the many great viewers out there already (WebSVN,
FlexySVN, ViewCVS, etc). The 3 I listed are really pretty good, and easy
to setup.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 10:15:51 2005

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