Vote #63248
完了Subversion repository "View differences" on each file rise ERROR
0%
説明
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