プロジェクト

全般

プロフィール

Vote #63502

完了

Link to view specific revision fails with Subversion Repository subdirectory

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2008/06/24
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
2
issue_org_id:
1525
author_id:
1397
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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


journals

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.
--------------------------------------------------------------------------------
Fixed in r1587.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0