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

Re: browser view a particular revision

From: Dominic Anello <danello_at_danky.com>
Date: 2006-08-18 23:11:43 CEST

On 2006-08-18 15:10:08 -0400, George Georgalis wrote:
> Is there a way to craft a url
> to allow people to access a particular
> vevision with their www browser? eg
>
> http://site.net/pub/?revision=22
>
> I tried that but no joy.
>

You can do it, but it is very unsupported and may break with any future
update as it relies on an internal implementation detail of svn's DAV
protocol.

Assuming that http://site.net/pub/ is the full URL to yr repos root, then

http://site.net/pub/!svn/bc/22/

will show the repos at r22.

If you are creating a web-based tool, you should access the repos via
the bindings API, the above should really only be used if you want to
slap a URL into your browser to see an old version of a file (even then,
you should probably just use svn cat).

-Dominic

  • application/pgp-signature attachment: stored
Received on Fri Aug 18 23:13:02 2006

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.