Project

General

Profile

Actions

Defect #9679

closed

Subversion: 404 on diff of renamed files

Added by Etienne Massip almost 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-11-28
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

This can be turned into a Better handling of renamed item revision history FR but RM actually triggers a 404 where it should not:

Looking at a renamed file revision history, e.g. /app/views/issues/show.html.erb which has been renamed with r7043:

  • if you try to get r7043 diff, you'll get an empty page (weird, but not an error)
  • if you try to get a diff between a revision > r7043 and any other revision you'll get a correct diff
  • if you try to get a diff between 2 revisions < r7043 you'll get a 404

FR idea: insert some "File has been renamed from <XX>" after r7043 line.

The 404 is the bug.


Related issues

Is duplicate of Redmine - Defect #2493: Subversion: Error message for some of view differencesConfirmed2009-01-12

Actions
Actions #1

Updated by Filou Centrinov over 11 years ago

I can not reproduce the problem. The following diff page of r7043 is not empty: http://www.redmine.org/projects/redmine/repository/revisions/7043/diff/

Actions #2

Updated by Etienne Massip over 11 years ago

I can totally reproduce. Just go to the history page, select both 7043 and previous revision 6732 and click on button at the bottom of the page.

And diff between 2 older revisions gives an ununderstandable 404.

Actions #3

Updated by Filou Centrinov over 11 years ago

I see. Revision 7241:6372 and Revision 7241:6326 are working, but Revision 6372:6326 shows an error 404.

Actions #4

Updated by Etienne Massip over 11 years ago

Filou Centrinov wrote:

I see. Revision 7241:6372 and Revision 7241:6326 are working, but Revision 6372:6326 shows an error 404.

Exactly. And Revision 7043:6372 is empty.

Actions #5

Updated by Toshi MARUYAMA over 11 years ago

  • Subject changed from 404 on diff of renamed files to Subversion: 404 on diff of renamed files
Actions #6

Updated by Toshi MARUYAMA over 11 years ago

  • Status changed from Confirmed to Closed

Duplicate with #2493.

Actions #7

Updated by Toshi MARUYAMA over 11 years ago

  • Resolution set to Duplicate
Actions #8

Updated by Etienne Massip over 11 years ago

  • Target version deleted (Candidate for next minor release)
Actions

Also available in: Atom PDF