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

Re: RFC: a permanent svn-specific URL syntax

From: Daniel Patterson <danpat_at_adaptiveinternational.com>
Date: 2003-05-28 01:55:16 CEST

On Wed, 2003-05-28 at 05:36, Ben Collins-Sussman wrote:
> New users come up with this question over and over again:
>
> "I need a public URL that represents a (rev, path) pair in the repository."
>
> Our answer up till now has always been:
>
> * mod_dav_svn has a secret format for this, but it is always subject
> to change, so it basically dosen't exist.
>
> * just use 'svn [cat|ls] -rN URL'
>
> * or just use ViewCVS
>
>
> But I've mentioned this before: I can't think of a reason *not* to
> implement this feature. Our canned repsonses are mainly blow-offs,
> and don't address the utility of the feature itself. I don't think
> anyone would argue that it's not useful. It's just a matter of
> getting consensus that
>
> A) we all want a new, permanent, public, non-changing URL syntax
>
> B) we're willing to support the permanent syntax.
>
> Is this true? I don't think it would be very hard to support, and it
> would benefit users greatly.

+1 to this. Using the XSLT function, and a small patch to mod_dav_svn,
we've already customised the "web browseable interface" to show:

  Author
  Last modified time
  Size
  Last modified revision

There are links everywhere, which allow users to easily browse through
time (skip back to the last modified revision quickly). We have "last
revision" and "next revision" links generated by the XSLT that allow
users to browse backwards and forwards revision by revision.

Currently, we use "/repos/!svn/bc/234/<path>", which simply seemd to be
one that works, it would be nice to have a documnented interface to use.

A web interface is a pretty major selling point for SVN here, a reliable
way to allow browsing through history would be good :)

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 28 01:56:17 2003

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.