Opened 19 years ago
Closed 18 years ago
#2340 closed enhancement (fixed)
Subversion Browser does not follow svn:externals properties
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | version control/browser | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (0)
Change History (4)
comment:1 by , 19 years ago
Milestone: | → 1.0 |
---|---|
Owner: | changed from | to
Type: | defect → enhancement |
comment:2 by , 18 years ago
Milestone: | 1.0 → 0.11 |
---|---|
Status: | new → assigned |
#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.