Edgewall Software
Modify

Opened 17 years ago

Last modified 9 years ago

#6615 new defect

svn:externals not correctly displayed in browser

Reported by: anonymous Owned by:
Priority: normal Milestone: unscheduled
Component: version control/browser Version: 0.11b1
Severity: minor Keywords: svn:externals
Cc: itamarost@…, joel@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Using Trac 0.11b1, svn:externals can be followed using the browser.

However, imagine a directory which only contains links to externals modules (this could be a common use case, putting all external stuff in one place). Then when clicking on the left arrow to expand this folder, the "jquery Loading…" sends back an (empty) directory ! This is correct from a subversion point of view but a bit strange from a user point of view (which is not supposed to know svn internals) and we have to click on the directory name to get the svn:external link displayed.

The proposal should be : creating a particular directory entry icon which could represent an external link. Then, this link would be displayed as a special directory entry and the user would be able to follow this link without being disturbed by an empty dir content.

I put here another thougth as it is linked to my previous description : A great improvement of the svn:externals functionality would be to follow the link within the trac browser if the link target is related to the same repos. Indeed, consider this situation :

The svn:externals property of http://myserver/svn/repos/project1/ is set to "module1 http://myserver/svn/repos/modules/module1"
Then when following the link in the trac browser http://myserver/trac/browser/project1/module1 , we are redirected to http://myserver/svn/repos/modules/module1 which is correct but which leaves trac pages. As the link is "external" from a svn point of view but "internal" from a trac point of view, the address could be transformed on the fly to http://myserver/trac/browser/modules/module1

Attachments (0)

Change History (8)

comment:1 by Emmanuel Blot, 17 years ago

Milestone: 0.110.11.1
Severity: normalminor

Should not block 0.11 release.

comment:2 by Christian Boos, 17 years ago

Keywords: svn:externals added
Milestone: 0.11.12.0

Complementary to #6474

(and I start to be a bit more realistic for the planning of cool but non essential features ;-) )

comment:3 by osimons, 17 years ago

Also, this pre-supposes some knowledge of the URL location of the repos hooked onto Trac - see #1781 for discussion on that. Currently Trac only knows the path on disk.

comment:4 by Itamar O <itamarost@…>, 15 years ago

Cc: itamarost@… added

The second part of the description is dealt with in #7687.

The first part is indeed cool :-) But isn't it part of #6474?

comment:5 by Christian Boos, 15 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:6 by joel@…, 14 years ago

Cc: joel@… added

comment:7 by Christian Boos, 14 years ago

Milestone: triagingunscheduled

Milestone triaging deleted

comment:8 by Ryan J Ollos, 9 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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