You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Leeuw van der, Tim" <ti...@nl.unisys.com> on 2003/05/05 13:20:33 UTC

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

I would very much like to be able, to do this from a web-browser as well.
Actually. :-)

--Tim

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: maandag 5 mei 2003 15:04
To: Walter Strametz
Cc: dev@subversion.tigris.org
Subject: Re: Is it possible to browser a certain srelease of a svn
repository?


Walter Strametz <Wa...@ilogs.at> writes:

> Im using SVN over http and sometimes I want to know the content of a
> file with an older version, but I dont want
> to make a svn co -R

Try 'svn cat -r400 foo.c'.  No web browser required.  :-)

('svn ls -r400 dir' works as well)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

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

Posted by John Locke <ma...@freelock.com>.
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

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

Posted by Ben Collins-Sussman <su...@collab.net>.
"Leeuw van der, Tim" <ti...@nl.unisys.com> writes:

> I would very much like to be able, to do this from a web-browser as well.
> Actually. :-)

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org