Edgewall Software

Opened 17 years ago

Closed 16 years ago

#2340 closed enhancement (fixed)

Subversion Browser does not follow svn:externals properties

Reported by: damphyr@… 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:


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 Christian Boos, 17 years ago

Milestone: 1.0
Owner: changed from Jonas Borgström to Christian Boos
Type: defectenhancement

… 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.

comment:2 by Christian Boos, 16 years ago

Milestone: 1.00.11
Status: newassigned

#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+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:

http://svn.red-bean.com/repos/skin-maker http://trac.red-bean.com/skin-maker/browser/%(path)?rev=%(rev)

comment:3 by Christian Boos, 16 years ago

See r4528. I would be interested in getting feedback.

comment:4 by Christian Boos, 16 years ago

Resolution: fixed
Status: assignedclosed

Merged in trunk in r4654.

See r4527 and r4529 for the details for the [svn:externals] TracIni setup.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.