Project

General

Profile

Actions

Defect #1262

closed

Subversion repository "View differences" on each file rise ERROR

Added by Sergej Jegorov over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
Start date:
2008-05-20
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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.


Related issues

Related to Redmine - Defect #1275: View differences for individual file of a changeset fails if the repository URL doesn't point to the repository rootClosed2008-05-21

Actions
Actions #1

Updated by Sergej Jegorov over 16 years ago

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.

Actions #2

Updated by Sergej Jegorov over 16 years ago

The same problem in #1275

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

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

Fixed in r1446.

Actions

Also available in: Atom PDF