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

Re: Is it possible to browser a certain srelease of a svn reposit ory?

From: John Locke <mail_at_freelock.com>
Date: 2003-05-05 19:43:11 CEST

On Mon, 2003-05-05 at 06:54, Ben Collins-Sussman wrote:

> Well, I suppose there's nothing preventing us from adding a 'custom'
> URL form to mod_dav_svn -- it needn't have anything to do with
> WebDAV/DeltaV. It could simply be a custom URL form that we promise
> to support forever, unlike our DeltaV '!svn' URLs.

+1

How about supporting revisions using url-encoded variables? e.g.
something like:

http://domain.com/repos/trunk/file?rev=3423
http://domain.com/repos/trunk/file?rev=HEAD-4
http://domain.com/repos/trunk/file?date=20030415

Then, when you visit a repository page using a browser, whatever query
string (after the ?) is appended to each link? No need to change the
base URL...

For that matter, we could perhaps extend this later with:

http://domain.com/repos/trunk/file?diff_r1=3423&diff_r2=3450

and get a diff between two different versions?

And
http://domain.com/repos/trunk?rev=3423&log=verbose

to get the log item for that revision?

Seems to me that it shouldn't be that hard to implement some sort of
scheme that mimics many of the (read-only) functions of the svn client,
just passing parameters through the URL.

-- 
John Locke
http://freelock.com
Recently published: "An inexpensive e-mail server setup"
http://www.techrepublic.com/article_guest.jhtml?id=r00620030325gcn01.htm
Play sports? Check in at http://teamcheckin.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 5 19:43:54 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.