Show SVN URL links in /browser, /log, and /changelog

Deprecation Notice: This SvnUrlsPlugin will not be maintained anymore, see #8552. Look at SvnMultiUrlsPlugin for an adapted version.


The SvnUrlsPlugin provides links to the url of repository files as viewable at /browser, /log, and /changelog in Trac. This enables easy reference to the actual svn entities for svn operations.

You might also check out SubversionLocationPlugin, which is like SvnUrlsPlugin but affects only the Browse Source tab and does so more subtly.

Bugs/Feature Requests

Existing bugs and feature requests for SvnUrlsPlugin are here.

If you have any issues, create a new ticket.


3 / 3


3 / 3


1 / 1

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.


To make this work, you will have to enable the plugin in the trac.ini file for your project:

svnurls.* = enabled

Additionally, add a section to your trac.ini file:

repository_url = https://your.repository/location

Optionally, you may also add an entry to this section controlling what text is displayed:

link_text = [svn]

The above is the default.


The [svn] links in the image below point to the http svn location of the relevant resources:

How SVN URLs Works

svnurls filters the outgoing stream using ITemplateStreamFilter. This requires the latest version of Genshi. Running python [develop|install] should pull down the correct version.

Recent Changes

4225 by k0s on 2008-09-02 18:16:26
use a name without a space in it
4112 by k0s on 2008-08-04 14:38:19
unmark the colspan attribute from the "../" link; fixes #3202
4104 by k0s on 2008-08-01 17:49:57
the default handler should match the argument spec of other handlers


Originally developed at The Open Planning Project

Author: k0s
Maintainer: none (deprecated)
Contributors: xtg

Last modified 9 months ago Last modified on Dec 14, 2015, 10:37:30 PM

Attachments (1)

Download all attachments as: .zip