ウェブブラウザでSVNリポジトリの特定のリビジョンを参照するURI

Subversion 1.6 のリリースノートから抜粋


mod_dav_svn now supports a new public URI syntax for examining older versions of files or directories. The intent here is to allow users to examine history without the use of an svn client, and to make it easier for 3rd-party tools (e.g. code-review services) to work directly against repositories without using svn libraries.

[]http://host/repos/path?[p=PEG][&r=REV][]

The new syntax works similarly to the way URIs work with the svn commandline client. Simply requesting http://host/repos/path fetches "path" in the HEAD revision. Adding a "p" query argument specifies a different peg revision instead, so that:

[]http://host/repos/path?p=38[]

...is similar to specifying "path@38" on the commandline. Adding a "r" query argument is like specifying "-r" on the commandline, causing the repository to follow history backwards from the peg revision to the older operative revision:

[]http://host/repos/path?p=38&r=20[]

As with the commandline, the peg revision defaults to HEAD if unspecified, and the operative revision defaults to the peg revision. The online Subversion Book has a section explaining peg and operative revisions in great detail.
New public 'historical' HTTP URI syntax for mod_dav_svn (server) - Apache Subversion 1.6 Release Notes

通常のURIに対して、p=でペグリビジョン、r=で操作対象リビジョンが指定できるらしい。