InDefero

Sign in or create your account | Project List | Help

InDefero Commit Details

Date:2009-06-26 20:52:56 (1 year 2 months ago)
Author:Loïc d'Anterroches
Commit:c366124917801f23f2607c9fa6d16c1a48b1d4da
Message:Fixed the case of accessing the log of an unavailable project

Files: src/IDF/Views/Source.php (1 diff)

Change Details

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

Archive Download the corresponding diff file

Branches:
dev
develop
master
newdiff
svn

Tags:
v1.0