Indefero

Indefero Commit Details


Date:2009-06-26 13:52:56 (15 years 5 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:c366124917801f23f2607c9fa6d16c1a48b1d4da
Parents: 16ce0da5f9b019989ceaa356ff0f24bbfc92a80c
Message:Fixed the case of accessing the log of an unavailable project

Changes:

File differences

src/IDF/Views/Source.php
6565
6666
6767
68
69
70
71
72
6873
6974
7075
$title = sprintf(__('%1$s %2$s Change Log'), (string) $request->project,
$this->getScmType($request));
$scm = IDF_Scm::get($request->project);
if (!$scm->isAvailable()) {
$url = Pluf_HTTP_URL_urlForView('IDF_Views_Source::help',
array($request->project->shortname));
return new Pluf_HTTP_Response_Redirect($url);
}
$branches = $scm->getBranches();
$commit = $match[2];
if (!$scm->isValidRevision($commit)) {

Archive Download the corresponding diff file

Page rendered in 0.07215s using 13 queries.