Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
179Source IntegrationWebSVNpublic2010-10-08 05:222011-01-18 02:05
ReporterTobias Schlauch 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary179: Diff and File links are alwys shown.
DescriptionYou are checking for instance for files that are deleted within a change set the following way:

if ( $p_file->action == 'D' ) {
    return '';
}

But within the action property not 'D' is used but 'rm'. Similar things happen in case of:
'A' -> add
'M' -> 'mod'
'R' -> 'mv'

This problem also exists with the WebSVN plugin. So this issue is related to 174. I attached a patch which should resolve the problem.

I also extended the condition to prevent link display in case of moved items.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (260)
obones (reporter)
2011-01-18 02:05

The patch works just fine for me

- Issue History
Date Modified Username Field Change
2010-10-08 05:22 Tobias Schlauch New Issue
2010-10-08 05:22 Tobias Schlauch File Added: diff_file_link.patch
2011-01-18 02:05 obones Note Added: 260


Copyright © 2000 - 2012 MantisBT Group
Time: 0.1173 seconds.
memory usage: 8,361 KB
Powered by Mantis Bugtracker

hosted with
Linode