Ticket #1781 (new defect)
Link from 'Browser Source' to Subversion Repository URL
| Reported by: | Ian Leader <__ian.leader__@…> | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.13 |
| Component: | version control/browser | Version: | devel |
| Severity: | normal | Keywords: | url multirepos |
| Cc: |
Description
When browsing source in trac, it would be useful to be able to get the Subversion repository URL for the folder or file you are browsing - for example to check out that sub-tree, or to link directly to a file in the repository.
This would require a parameter with the base URL of the repository to be set in trac.ini as there is no way to automatically deduce the URL. Beyond that I think it would be fairly simple to implement.
I would like to see this at the top of the page e.g.
root/tags/trac-0.8 (subversion repository URL for this page)
or
root/tags/trac-0.8 (<URL spelled out>)
in a smaller font just after the path. However, if this was controversial, a good alternative would be to put it in as an 'alternative format' link.
If there's interest in including this in the trunk, I'm happy to do a patch.


