How to browse an old revision of a Subversion repository through the web view

svn

I know how to browse my project's Subversion repository through its web front-end, but it seems that I can only browse the latest revision of the trunk. Is there a way to browse an older revision of the trunk through the web UI?

I know how to do this from the command-line, but I need to know how to do this using URLs, because I'm embedding these URLs into a document. I also know I could create an svn-style tag of the trunk, but I would prefer not to do that.

Best Answer

Append something like this to your repository URL:

!svn/bc/<revision_number>/

E.g.

http://www.example.com/svnrepository/!svn/bc/3/

Alternative

From Bert Huijben's comment:

If your repository is hosted using Subversion 1.6.0 or later, you can use example.com/svnrepository/?p=3 for the same result... This method /is/ documented. (?r= revision of the file, ?p= operational revision of the URL). See the subversion 1.6 release notes