|Version 4 (modified by k0s, 6 years ago) (diff)|
show SVN URL links in /browser and /log
The SvnUrlsPlugin provides links to the url of repository files as viewable at /browser and /log in trac. This enables easy reference to the actual svn entities for svn operations To make this work, you will have to add a section in the trac.ini for your project.
[svnurls] svn_base_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.
Where SVN URLs Lives
SVN URLs lives at
How SVN URLs Works
svnurls.py filters requests and post-processes them (implementing IRequestFilter) and uses custom templates overriding ones in trac/versioncontrol/templates.
This is implemented for genshi templates only so will not work with versions of trac using clearsilver.