Project

General

Profile

Actions

Defect #1209

closed

"View differences" of one file at /repositories/revision/ fails

Added by Go MAEDA almost 16 years ago. Updated almost 16 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

"View differences" of one file at /repositories/revision/ fails.
This problem happens depending on directory depth of repository URL. 'http://svn.example.com/svn/dir' is OK but 'http://svn.example.com/svn/dir/subdir' is NG.

How to reproduce:

Consider the following conditions.

  • Project name is "example_project".
  • Repository URL is http://svn.example.com/svn/dir/subdir/
  • A revision contains some file like "foo.rb" which url is "http://svn.example.com/svn/dir/subdir/foo.rb"
  1. Set repository URL to "http://svn.example.com/svn/dir/subdir/"
  2. View the revision.
  3. click "View differences" of "foo.rb". You will see error message "The entry or revision was not found in the repository".

The cause of this problem is that the page "/repositories/diff/" expects the path "/project_name/foo.rb" but "View differences" passes "/project_name/subdir/foo.rb".


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

Also available in: Atom PDF