MantisBT - CDash
View Issue Details
0013879CDash(No Category)public2013-01-25 08:442014-08-04 09:19
trsystran 
 
normalminoralways
newopen 
apache - php 5.3
2.0 
 
0013879: [PATCH] Improve redmine repository viewer links (no revision)
get_redmine_diff_url() is called by get_diff_url() which can be called with an empty revision.
However get_redmine_diff_url() does not generate valid redmine urls when the revision is not set.

This patch returns in such case an url pointing to the history of the file (as it seems to be done in get_viewcvs_diff_url() (I'm not sure of that)).

It is at least visible at cdash/viewBuildError.php?buildid=42 where there is a link to the file containing the error.

Ideally we would have here the revision associated with the build, and thus could give a link to the correct version of the file. But I haven't found a way to get the revision on viewBuildError.php.
No tags attached.
patch redmine_diff_url.patch (572) 2013-01-25 08:44
https://public.kitware.com/Bug/file/4628/*
Issue History
2013-01-25 08:44trsystranNew Issue
2013-01-25 08:44trsystranFile Added: redmine_diff_url.patch
2014-08-04 09:19trsystranNote Added: 0036541

Notes
(0036541)
trsystran   
2014-08-04 09:19   
Bug still present in CDash 2.2.2, and patch still applies.