Fix the branch links users of the Subversion frontend get when they enter

a wrong revision and only display this list if there are any branches
available for all SCMs.
This commit is contained in:
Thomas Keller
2011-06-11 00:47:54 +02:00
parent 2f30e4e2f6
commit 11a234e135
7 changed files with 42 additions and 1 deletions

View File

@@ -66,7 +66,8 @@ class IDF_Views_Source
'commit' => $commit,
'branches' => $branches,
);
return Pluf_Shortcuts_RenderToResponse('idf/source/invalid_revision.html',
$scmConf = $request->conf->getVal('scm', 'git');
return Pluf_Shortcuts_RenderToResponse('idf/source/'.$scmConf.'/invalid_revision.html',
$params, $request);
}