[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: George Georgalis <george_at_galis.org>
Date: 2006-08-19 00:14:09 CEST

On Fri, Aug 18, 2006 at 05:11:43PM -0400, Dominic Anello wrote:
>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

${URL}!svn/bc/22/

definately works here! interesting, seems like a feature that
should be supported by mod_dav, but I was only asking, maybe with
the api I guessed?

Only half our office is using Tortuse, and some are using
commandline. Would be nice to be able to throw a url for everyone
in a wiki for a repo that does not have a trac browser front
end....

Thanks for the offline responce to... (I did search doc prior..)

(near bottom)
http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html

 Can I view older revisions?

 With an ordinary web browser? In one word: nope. At least, not with mod_dav_svn as your only tool.

Regards,
// George

-- 
George Georgalis, systems architect, administrator <IXOYE><
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 19 00:15:33 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.