Ticket #2340 (closed enhancement: fixed)
Subversion Browser does not follow svn:externals properties
| Reported by: | damphyr@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | version control/browser | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
External repository dependencies can be added to a subversion repository through the svn:externals property ( subversion book).
It would be helpful to be able to follow the svn:externals links in the Trac browser.
svn:externals can point within the same repository, but they can also point to different repositories, so this probably means that the browser module must be able to handle more than one svn repository.
Attachments
Change History
comment:1 Changed 5 years ago by cboos
- Owner changed from jonas to cboos
- Type changed from defect to enhancement
- Milestone set to 1.0
comment:2 Changed 4 years ago by cboos
- Status changed from new to assigned
- Milestone changed from 1.0 to 0.11
#3380 marked as duplicate.
I think a simple mapping table in the .ini could be used to store the mapping between external sources and the URL to follow:
[svn:externals] svn+ssh://server1 http://server1/svn svn+ssh://server2 http://server2/trac/browser
Some additional subtlety should be added in order to support revision numbers, so that e.g. third-party/skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker can be correctly mapped:
[svn:externals] http://svn.red-bean.com/repos/skin-maker http://trac.red-bean.com/skin-maker/browser/%(path)?rev=%(rev)



... or svn:externals can link to the right place in another system (Trac, ViewCVS, ...) if the repository is a remote one.
This should be part of the better support for custom properties in the browser topic, see related #1601.