Project

General

Profile

Actions

Defect #1525

closed

Link to view specific revision fails with Subversion Repository subdirectory

Added by Roger Hunwicks over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2008-06-24
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

MySql 5.0.22
ruby 1.8.5
Rails 2.0.2
Redmine r1583
svn 1.4.2

Our svn repository is accessed via a subdirectory, e.g http://server/svn/project.

When looking at a changeset, e.g. https://server/redmine/repositories/revision/project/126 the individual files are listed. The filename is a link to view the specific revision of the file committed in that changeset, e.g. https://server/redmine/repositories/entry/project*//*trunk/directory/file.ext?rev=126.

Notice that the link contains // between the project and the start of the path to the file. Clicking this link gives "he entry or revision was not found in the repository".

If I manually correct the link to remove the second / the link works correctly.

Note that other errors have been reported and fixed relating to the View Differences links on this page when accessing a Subversion repository in a subdirectory, but this is for the link from the actual filename to see that revision without any diffs.

Thanks

Roger

Actions #1

Updated by Paul Rivier over 16 years ago

I had some troubles with slashes as well when developing the Filesystem connector. As a workaround, I use some helpers to ensure slashes are not duplicated (see format_path_ends in filesystem_adapter.rb). If bug is confirmed, and the fix needs such a function, it may be worth to move the definition in a shared place.

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed
  • Target version set to 0.8
  • Resolution set to Fixed

Fixed in r1587.

Actions

Also available in: Atom PDF