プロジェクト

全般

プロフィール

Vote #63248

完了

Subversion repository "View differences" on each file rise ERROR

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

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

0%

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

説明

Redmine revision 1438.

When I go to project repository -> Revision #xxx, I see changed/added/deleted file list. If file is changed, there are "View differencies" link in the right. I click on the link and got an error.
Annalise redmine logfile I find that error message:

Fragment read: repositories/diff/41/e78d09cdd7ef569bf289310035e7eeb6 (0.00043)
Shelling out: svn diff -r 617:618 'http://svn.elgama.lt/svn/saugykla/software/sharaga/software/sharaga/trunk/src/RemSkaitikliai/RemSkSiuntos.Designer.cs'@618 --username 'xxx' --password 'xxx'

But repository URL must be:

http://svn.elgama.lt/svn/saugykla/software/sharaga/trunk/src/RemSkaitikliai/RemSkSiuntos.Designer.cs

without duplicated software/sharaga/ in a URL.

Something wrong in URL generation algorithm

But if I click on "View differencies" to view differences all of files, then all OK, Differences displayed correctly.

Thanks.


journals

I found that error occurs if Redmine project Identifier and subversion repository URL contains the same word.
i.e.: We have Redmine project Identifier *sharaga* and repository URL in this project: "http://svn.elgama.lt/svn/saugykla/software/sharaga".

If I create a new project with another Identifier ("aaa") with the same as above svn URL, then "View differencies" works fine.

--------------------------------------------------------------------------------
The same problem in #1275
--------------------------------------------------------------------------------
Fixed in r1446.
--------------------------------------------------------------------------------


related_issues

relates,Closed,1275,View differences for individual file of a changeset fails if the repository URL doesn't point to the repository root

Admin Redmine さんがほぼ2年前に更新

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

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

いいね!0
いいね!0