Edgewall Software

Ticket #2340 (closed enhancement: fixed)

Opened 3 years ago

Last modified 21 months ago

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

Changed 3 years ago by cboos

  • owner changed from jonas to cboos
  • type changed from defect to enhancement
  • milestone set to 1.0

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

Changed 21 months 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)

Changed 21 months ago by cboos

See r4528. I would be interested in getting feedback.

Changed 21 months ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed

Merged in trunk in r4654.

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

Add/Change #2340 (Subversion Browser does not follow svn:externals properties)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.